summaryrefslogtreecommitdiff
path: root/strings.c
diff options
context:
space:
mode:
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;
+ }
}
}