--- trunk/tntnet/dynamic/bullet.ecpp 2007/12/02 20:26:43 126 +++ trunk/tntnet/dynamic/bullet.ecpp 2007/12/03 07:49:42 128 @@ -15,8 +15,10 @@ inline void decodeRGBString(const std::string& rgb, int& red, int& green, int& blue) { + char check = 0; + char *rend,*gend,*bend; + rend = gend = bend = ✓ - char *rend=0,*gend=0,*bend=0; int tmpred = strtol( rgb.substr(0,2).c_str(), &rend, 16); int tmpgreen = strtol( rgb.substr(2,2).c_str(), &rend, 16); int tmpblue = strtol( rgb.substr(4,2).c_str(), &rend, 16);