From 4e2cbaf04523bddd66cf6f50fbff209dbbf6f36e Mon Sep 17 00:00:00 2001 From: wmayer Date: Sat, 15 Nov 2014 22:45:56 +0100 Subject: [PATCH] + fix saving problem with file names containing an apostrophe --- src/Gui/Document.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Gui/Document.cpp b/src/Gui/Document.cpp index 6db42bad4..015c79239 100644 --- a/src/Gui/Document.cpp +++ b/src/Gui/Document.cpp @@ -582,7 +582,7 @@ bool Document::saveAs(void) // save as new file name Gui::WaitCursor wc; - Command::doCommand(Command::Doc,"App.getDocument(\"%s\").saveAs('%s')" + Command::doCommand(Command::Doc,"App.getDocument(\"%s\").saveAs(\"%s\")" , DocName, (const char*)fn.toUtf8()); setModified(false);