* mu.cc: add some comment regarding setlocale

This commit is contained in:
Dirk-Jan C. Binnema 2010-09-04 14:32:33 +03:00
parent b05359d344
commit c55831f7c7
1 changed files with 3 additions and 1 deletions

View File

@ -1,5 +1,5 @@
/*
** Copyright (C) 2010 Dirk-Jan C. Binnema <djcb@djcbsoftware.nl>
b** Copyright (C) 2010 Dirk-Jan C. Binnema <djcb@djcbsoftware.nl>
**
** This program is free software; you can redistribute it and/or modify it
** under the terms of the GNU General Public License as published by the
@ -53,6 +53,8 @@ main (int argc, char *argv[])
MuConfigOptions config;
gboolean rv;
/* without setlocale, non-ascii cmdline params (like search
* terms) won't work */
setlocale (LC_ALL, "");
g_type_init ();