summaryrefslogtreecommitdiffstats
path: root/src/main.cpp
diff options
context:
space:
mode:
authorTavmjong Bah & Kamalpreet Grewal <>2016-08-15 05:15:09 +0000
committerkamalpreetgrewal <grewalkamal005@gmail.com>2016-08-15 05:15:09 +0000
commit11e0546b1c039fc84c1a0f86a4681df34642916b (patch)
tree5a1e2bdfa01c1dccf999624ebdf57d6b3a00dcc9 /src/main.cpp
parentMerge changes from trunk (diff)
downloadinkscape-11e0546b1c039fc84c1a0f86a4681df34642916b.tar.gz
inkscape-11e0546b1c039fc84c1a0f86a4681df34642916b.zip
Add changes for compilation with trunk
(bzr r14949.1.65)
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:"));