openbsd-ports/astro/stellarium/patches/patch-src_translator_cpp
ajacoutot 826c95d3ea Import stellarium-0.8.2
Stellarium is a free open source planetarium for your computer.
Stellarium renders 3D photo-realistic skies in real time with OpenGL.
It displays stars, constellations, planets, nebulas and others things
like ground, landscape, atmosphere, etc. It shows a realistic sky in 3D,
just like what you see with the naked eye, binoculars or a telescope.
It is being used in planetarium projectors. Just set your coordinates
and go.

ok steven@ kili@
2007-03-25 12:29:22 +00:00

13 lines
574 B
Plaintext

$OpenBSD: patch-src_translator_cpp,v 1.1.1.1 2007/03/25 12:29:22 ajacoutot Exp $
--- src/translator.cpp.orig Thu Oct 5 10:12:12 2006
+++ src/translator.cpp Sun Mar 25 13:35:40 2007
@@ -71,7 +71,7 @@ void Translator::initSystemLanguage(void)
}
//change systemLangName to ISO 639 / ISO 3166.
- unsigned int pos = Translator::systemLangName.find(':', 0);
+ std::string::size_type pos = Translator::systemLangName.find(':', 0);
if(pos != Translator::systemLangName.npos)
Translator::systemLangName.resize(pos);
pos = Translator::systemLangName.find('.', 0);