diff options
| author | Martin Owens <doctormo@gmail.com> | 2017-07-02 16:20:01 +0000 |
|---|---|---|
| committer | Martin Owens <doctormo@gmail.com> | 2017-07-02 16:20:01 +0000 |
| commit | 899442f97462f2012dbb99aa7ee613f434019a3b (patch) | |
| tree | 1bd8e89e23da49d999092ff0efde19d23bb67ffd /src | |
| parent | Remove duplicate error message (diff) | |
| download | inkscape-899442f97462f2012dbb99aa7ee613f434019a3b.tar.gz inkscape-899442f97462f2012dbb99aa7ee613f434019a3b.zip | |
Fix windows builds with filename in symbols dialog
Diffstat (limited to 'src')
| -rw-r--r-- | src/ui/dialog/symbols.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/dialog/symbols.cpp b/src/ui/dialog/symbols.cpp index 96ccf416b..b876fa98c 100644 --- a/src/ui/dialog/symbols.cpp +++ b/src/ui/dialog/symbols.cpp @@ -501,7 +501,7 @@ SPDocument* read_vss(Glib::ustring filename, Glib::ustring name ) { // RVNGFileStream uses fopen() internally which unfortunately only uses ANSI encoding on Windows // therefore attempt to convert uri to the system codepage // even if this is not possible the alternate short (8.3) file name will be used if available - fullname = g_win32_locale_filename_from_utf8(fullname.c_str()); + fullname = g_win32_locale_filename_from_utf8(filename.c_str()); #else filename.copy(fullname, filename.length()); #endif |
