fixed #927 issue

This commit is contained in:
Alexander Shishkov 2012-02-09 10:53:16 +00:00
parent 6ead21b1a2
commit 7c03b301c1

View File

@ -464,8 +464,8 @@ CV_IMPL int cvInitSystem( int argc, char** argv )
{
hg_windows = 0;
gtk_disable_setlocale();
gtk_init( &argc, &argv );
setlocale(LC_NUMERIC, "en_US.utf8");
#ifdef HAVE_OPENGL
gtk_gl_init(&argc, &argv);