ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/common/treasure.C
(Generate patch)

Comparing deliantra/server/common/treasure.C (file contents):
Revision 1.94 by root, Tue Nov 10 16:29:20 2009 UTC vs.
Revision 1.95 by root, Mon Nov 16 22:31:13 2009 UTC

1208 1208
1209 { 1209 {
1210 if (!strcmp (f.get_str (), "all")) 1210 if (!strcmp (f.get_str (), "all"))
1211 break; 1211 break;
1212 1212
1213 char *next, *cp = f.get_str (); 1213 const char *cp = f.get_str ();
1214 1214 char *next;
1215 do 1215 do
1216 { 1216 {
1217 if ((next = strchr (cp, ','))) 1217 if ((next = strchr (cp, ',')))
1218 *next++ = '\0'; 1218 *next++ = '\0';
1219 1219

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines