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