summaryrefslogtreecommitdiffstats
path: root/src/main.cpp
diff options
context:
space:
mode:
authorEduard Braun <eduard.braun2@gmx.de>2016-08-18 21:35:06 +0000
committerEduard Braun <eduard.braun2@gmx.de>2016-08-18 21:35:06 +0000
commit57f595dad1c2b8eb1862ae8396613b33a4ed8854 (patch)
tree3831bad55d1f42a09426ff4835452c5f69df2ddb /src/main.cpp
parentAdd back icon (this time as a copy) (diff)
downloadinkscape-57f595dad1c2b8eb1862ae8396613b33a4ed8854.tar.gz
inkscape-57f595dad1c2b8eb1862ae8396613b33a4ed8854.zip
Fix compilation error
(https://inkscape.org/en/paste/9901/) (bzr r15071)
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 28ae6992f..004d96191 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -856,7 +856,7 @@ static int sp_common_main( int argc, char const **argv, GSList **flDest )
std::string charset;
Glib::get_charset(charset);
- bind_textdomain_codeset(GETTEXT_PACKAGE, charset);
+ bind_textdomain_codeset(GETTEXT_PACKAGE, charset.c_str());
poptContext ctx = poptGetContext(NULL, argc, argv, options, 0);
poptSetOtherOptionHelp(ctx, _("[OPTIONS...] [FILE...]\n\nAvailable options:"));