summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ui/dialog/symbols.cpp2
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