diff options
Diffstat (limited to 'src/validator.c')
-rw-r--r-- | src/validator.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/validator.c b/src/validator.c index 7a3ed7d..104369d 100644 --- a/src/validator.c +++ b/src/validator.c @@ -26,6 +26,8 @@ * USA. */ +#include <locale.h> + #include "validate.h" static gboolean warn_kde = FALSE; @@ -49,6 +51,8 @@ main (int argc, char *argv[]) int i; gboolean all_valid; + setlocale (LC_ALL, ""); + context = g_option_context_new (NULL); g_option_context_set_summary (context, "Validate desktop entry files " "according to the Desktop Entry " |