(svn r9641) -Fix (r7182): namegen.cpp was not UTF-8, which caused artefacts in Finnish town names.
authorrubidium
Sun, 15 Apr 2007 22:30:26 +0000
changeset 6465 c10391d97b1f
parent 6464 f15741fcf424
child 6466 674d898f2997
(svn r9641) -Fix (r7182): namegen.cpp was not UTF-8, which caused artefacts in Finnish town names.
src/namegen.cpp
--- a/src/namegen.cpp	Sun Apr 15 17:51:23 2007 +0000
+++ b/src/namegen.cpp	Sun Apr 15 22:30:26 2007 +0000
@@ -283,7 +283,7 @@
 	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 @@
 		{
 			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.