Report errors when setlocale() fails
This commit is contained in:
parent
f5533deca2
commit
bb9d07c607
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue
Block a user