Blob Blame Raw
--- stellarium-0.8.2/src/translator.cpp.org	2006-10-15 21:14:08.000000000 +0200
+++ stellarium-0.8.2/src/translator.cpp	2006-10-15 21:15:42.000000000 +0200
@@ -73,9 +73,9 @@
 	//change systemLangName to ISO 639 / ISO 3166.
 	unsigned int pos = Translator::systemLangName.find(':', 0);
 	if(pos != Translator::systemLangName.npos)
-	       Translator::systemLangName.resize(pos);
+	       Translator::systemLangName.resize(pos+1);
 	pos = Translator::systemLangName.find('.', 0);
-	if(pos == 5) Translator::systemLangName.resize(pos);
+	if(pos == 5) Translator::systemLangName.resize(pos+1);
 }
 
 void Translator::reload()