--- src/gcompris/properties.c.orig 2003-12-31 13:30:18.831332888 -0500 +++ src/gcompris/properties.c 2003-12-31 13:29:18.723470672 -0500 @@ -61,7 +61,7 @@ if(locale == NULL) locale = getenv("LANG"); - if (!strcmp(locale, "C")) + if (locale != NULL && !strcmp(locale, "C")) { tmp->locale = gnome_config_get_string ("/gcompris/Preferences/locale=en_US.UTF-8"); }