Added a setlocale at initialization.
git-svn-id: https://glabels.svn.sourceforge.net/svnroot/glabels/trunk@57
f5e0f49d-192f-0410-a22d-
a8d8700d0965
#include <config.h>
+#include <unistd.h>
+#include <stdlib.h>
#include <gnome.h>
#include <libgnomeprint/gnome-printer.h>
bindtextdomain (PACKAGE, PACKAGE_LOCALE_DIR);
textdomain (PACKAGE);
+ setlocale (LC_ALL, "");
gtk_type_init ();
/* argument parsing */
}
}
if ( master != NULL ) {
+ unlink (output);
gnome_print_master_print (master);
}