diff --git a/tools/test.c b/tools/test.c index 7bbb7e5..11c98f5 100644 --- a/tools/test.c +++ b/tools/test.c @@ -95,7 +95,8 @@ int main(int argc, char * argv[]) GtkIconSize huge; int o; - setlocale(LC_ALL, ""); + if(setlocale(LC_ALL, "") == NULL) + _error("setlocale", 1); bindtextdomain(PACKAGE, LOCALEDIR); textdomain(PACKAGE); gtk_init(&argc, &argv);