summaryrefslogtreecommitdiff
path: root/src/namegen.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2008-04-18 04:37:06 +0000
committerrubidium <rubidium@openttd.org>2008-04-18 04:37:06 +0000
commit9d8fa486af824039fae197212d83365242511da5 (patch)
tree31dd8caca4df193a4a2d7a3cd1ef2974e1a2b5a0 /src/namegen.cpp
parent6daaf0fc5565599f9c87b431a69cdcbb91ed74ac (diff)
downloadopenttd-9d8fa486af824039fae197212d83365242511da5.tar.xz
(svn r12761) -Codechange: lots of minor whitespace coding style fixes around operators.
Diffstat (limited to 'src/namegen.cpp')
-rw-r--r--src/namegen.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/namegen.cpp b/src/namegen.cpp
index 3027e920b..4fc370767 100644
--- a/src/namegen.cpp
+++ b/src/namegen.cpp
@@ -305,7 +305,7 @@ static byte MakeFinnishTownName(char *buf, uint32 seed, const char *last)
uint sel = SeedChance(2,
lengthof(name_finnish_1) + lengthof(name_finnish_2), seed);
if (sel >= lengthof(name_finnish_1)) {
- strecat(buf, name_finnish_2[sel-lengthof(name_finnish_1)], last);
+ strecat(buf, name_finnish_2[sel - lengthof(name_finnish_1)], last);
} else {
strecat(buf, name_finnish_1[sel], last);
}