summaryrefslogtreecommitdiff
path: root/strings.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2006-02-01 06:32:03 +0000
committertron <tron@openttd.org>2006-02-01 06:32:03 +0000
commit22dc05faf2219f6e3803f9cbff92249823bb11eb (patch)
tree567a406e1224ab13f36027469339c6c42ada96f1 /strings.c
parent8cdd3261fc5e37d2d39364d9c2c1449f83b1c504 (diff)
downloadopenttd-22dc05faf2219f6e3803f9cbff92249823bb11eb.tar.xz
(svn r3510) Fiddle with whitespace and parentheses
Diffstat (limited to 'strings.c')
-rw-r--r--strings.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/strings.c b/strings.c
index 4db8d29ac..581829389 100644
--- a/strings.c
+++ b/strings.c
@@ -983,10 +983,11 @@ StringID RemapOldStringID(StringID s)
case 0xA02F: return STR_SV_AIRCRAFT_NAME;
default:
- if (IS_INT_INSIDE(s, 0x300F, 0x3030))
+ if (IS_INT_INSIDE(s, 0x300F, 0x3030)) {
return s - 0x300F + STR_SV_STNAME;
- else
+ } else {
return s;
+ }
}
}