diff src/namegen.cpp @ 8969:01cc3ee6ecb1 draft

(svn r12761) -Codechange: lots of minor whitespace coding style fixes around operators.
author rubidium <rubidium@openttd.org>
date Fri, 18 Apr 2008 04:37:06 +0000 (2008-04-18)
parents 9ff7f6dafbfb
children d48433370037
line wrap: on
line diff
--- a/src/namegen.cpp
+++ b/src/namegen.cpp
@@ -305,7 +305,7 @@
 		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);
 		}