diff options
author | skidd13 <skidd13@openttd.org> | 2007-11-20 13:35:54 +0000 |
---|---|---|
committer | skidd13 <skidd13@openttd.org> | 2007-11-20 13:35:54 +0000 |
commit | 3ae50673a3e1e64a6038c53570c5ee168073e038 (patch) | |
tree | 51f15a2e52f58ea4446467086c5441cebe4324bf /src/settings.cpp | |
parent | 795174edf13e99cdef7eda73fbc088e2b06df051 (diff) | |
download | openttd-3ae50673a3e1e64a6038c53570c5ee168073e038.tar.xz |
(svn r11484) -Codechange: Remove the doubled function SetBitT and rename the remaining to fit with the naming style
Diffstat (limited to 'src/settings.cpp')
-rw-r--r-- | src/settings.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/settings.cpp b/src/settings.cpp index aab88256e..853719a71 100644 --- a/src/settings.cpp +++ b/src/settings.cpp @@ -435,7 +435,7 @@ static uint32 lookup_manyofmany(const char *many, const char *str) r = lookup_oneofmany(many, str, s - str); if (r == -1) return (uint32)-1; - SETBIT(res, r); // value found, set it + SetBit(res, r); // value found, set it if (*s == 0) break; str = s + 1; } @@ -1684,7 +1684,7 @@ static GRFConfig *GRFLoadConfig(IniFile *ini, const char *grpname, bool is_stati } /* Mark file as static to avoid saving in savegame. */ - if (is_static) SETBIT(c->flags, GCF_STATIC); + if (is_static) SetBit(c->flags, GCF_STATIC); /* Add item to list */ *curr = c; |