Ticket #7974: script_v1.cpp.diff
File script_v1.cpp.diff, 597 bytes (added by , 22 years ago) |
---|
-
script_v1.cpp
old new 2157 2157 void Scumm::o5_setObjectName() 2158 2158 { 2159 2159 int obj = getVarOrDirectWord(0x80); 2160 int size;2160 unsigned int size; 2161 2161 int a; 2162 int i;2162 unsigned int i; 2163 2163 byte *name; 2164 2164 unsigned char work[255]; 2165 2165 … … 2186 2186 2187 2187 if (i >= size) { 2188 2188 work[i] = 0; 2189 warning("New name of object %d too long (old *%s* new *%s*) ",2190 obj, name, work );2189 warning("New name of object %d too long (old *%s* new *%s*); (oldsize %i, newsize %i)\n", 2190 obj, name, work, size, i); 2191 2191 i = size - 1; 2192 2192 } 2193 2193