# HG changeset patch # User belugas # Date 1181518829 0 # Node ID 72e3e860741966682031fa733c843494d6236855 # Parent 7a44e07734c7abbc08408e106c22ebf0da9c2b12 (svn r10088) -Codechange: A typo and a code-style diff -r 7a44e07734c7 -r 72e3e8607419 src/industry.h --- a/src/industry.h Sun Jun 10 21:34:45 2007 +0000 +++ b/src/industry.h Sun Jun 10 23:40:29 2007 +0000 @@ -106,7 +106,7 @@ uint8 subst_id; uint16 local_id; ///< id defined by the grf file for this industry struct SpriteGroup *spritegroup; ///< pointer to the different sprites of the industry - const struct GRFFile *grffile; ///< grf file that introduced this house + const struct GRFFile *grffile; ///< grf file that introduced this industry uint8 override; ///< id of the entity been replaced by }; diff -r 7a44e07734c7 -r 72e3e8607419 src/newgrf.cpp --- a/src/newgrf.cpp Sun Jun 10 21:34:45 2007 +0000 +++ b/src/newgrf.cpp Sun Jun 10 23:40:29 2007 +0000 @@ -4318,7 +4318,9 @@ for (file = _first_grffile; file != NULL; file = file->next) { if (file->housespec == NULL) continue; - for (i = 0; i < HOUSE_MAX; i++) free(file->housespec[i]); + for (i = 0; i < HOUSE_MAX; i++) { + free(file->housespec[i]); + } free(file->housespec); file->housespec = NULL;