summaryrefslogtreecommitdiff
path: root/src/settings.cpp
diff options
context:
space:
mode:
authorskidd13 <skidd13@openttd.org>2007-11-20 13:35:54 +0000
committerskidd13 <skidd13@openttd.org>2007-11-20 13:35:54 +0000
commiteeaa348f8bfafae1a6e56b857a97d9d23577dcac (patch)
tree51f15a2e52f58ea4446467086c5441cebe4324bf /src/settings.cpp
parentb8885630aa9942ea924ffb6eeabc266140485435 (diff)
downloadopenttd-eeaa348f8bfafae1a6e56b857a97d9d23577dcac.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.cpp4
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;