From 899442f97462f2012dbb99aa7ee613f434019a3b Mon Sep 17 00:00:00 2001 From: Martin Owens Date: Sun, 2 Jul 2017 18:20:01 +0200 Subject: Fix windows builds with filename in symbols dialog --- src/ui/dialog/symbols.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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 -- cgit v1.2.3