diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2012-10-15 16:32:11 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2012-10-15 16:32:11 -0700 |
commit | f97f75f9616259addb0d3b38b807b7d65a883147 (patch) | |
tree | c5fc06944170ea1576ab891d41f6347bd49060a8 /main.c | |
parent | 72c7d7c9c49f2f74268062dd60f8ebc0e9746493 (diff) | |
download | subsurface-f97f75f9616259addb0d3b38b807b7d65a883147.tar.gz |
Set locale under Windows
This is mostly a quick hack to be able to test localization under Windows.
It seems to work fine under Windows 7
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -230,8 +230,8 @@ int main(int argc, char **argv) /* set up l18n - the search directory needs to change * so that it uses the correct system directory when * subsurface isn't run from the local directory */ - setlocale( LC_ALL, "" ); path = subsurface_gettext_domainpath(); + setlocale( LC_ALL, "" ); bindtextdomain("subsurface", path); bind_textdomain_codeset("subsurface", "utf-8"); textdomain("subsurface"); |