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

Comparing deliantra/server/random_maps/style.C (file contents):
Revision 1.6 by pippijn, Mon Dec 11 19:46:47 2006 UTC vs.
Revision 1.7 by root, Thu Dec 14 22:45:40 2006 UTC

81 if (entries == entry_size) 81 if (entries == entry_size)
82 { 82 {
83 entry_size += 10; 83 entry_size += 10;
84 rn = (char **) realloc (rn, sizeof (char *) * entry_size); 84 rn = (char **) realloc (rn, sizeof (char *) * entry_size);
85 } 85 }
86 rn[entries] = strdup_local (d->d_name); 86 rn[entries] = strdup (d->d_name);
87 entries++; 87 entries++;
88 88
89 } 89 }
90 (void) closedir (dp); 90 (void) closedir (dp);
91 91

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines