summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-04-15 22:30:26 +0000
committerrubidium <rubidium@openttd.org>2007-04-15 22:30:26 +0000
commite17209b3ccb6b5f0b88ab9c92b9e88a22f00722e (patch)
tree4c24bd981f578447534538a552ee54688cc73011
parent071e46660930e07264592be3c80ab8ea02316ae6 (diff)
downloadopenttd-e17209b3ccb6b5f0b88ab9c92b9e88a22f00722e.tar.xz
(svn r9641) -Fix (r7182): namegen.cpp was not UTF-8, which caused artefacts in Finnish town names.
-rw-r--r--src/namegen.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/namegen.cpp b/src/namegen.cpp
index 4b0d0d48c..42c9e7fea 100644
--- a/src/namegen.cpp
+++ b/src/namegen.cpp
@@ -283,7 +283,7 @@ static byte MakeFinnishTownName(char *buf, uint32 seed, const char *last)
if (SeedChance(0, 15, seed) >= 10) {
strecat(buf, name_finnish_real[SeedChance(2, lengthof(name_finnish_real), seed)], last);
} else if (SeedChance(0, 15, seed) >= 5) {
- /* A two-part name by combining one of name_finnish_1 + "la"/"lä"
+ /* A two-part name by combining one of name_finnish_1 + "la"/"lä"
* The reason for not having the contents of name_finnish_{1,2} in the same table is
* that the ones in name_finnish_2 are not good for this purpose. */
uint sel = SeedChance( 0, lengthof(name_finnish_1), seed);
@@ -297,7 +297,7 @@ static byte MakeFinnishTownName(char *buf, uint32 seed, const char *last)
{
strecat(buf, "la", last);
} else {
- strecat(buf, "lä", last);
+ strecat(buf, "lä", last);
}
} else {
/* A two-part name by combining one of name_finnish_{1,2} + name_finnish_3.