From 1b9f4e7b7a16eb3f1e2b5f7e7d4fc8c93396b95e Mon Sep 17 00:00:00 2001 From: wmayer Date: Sat, 11 Jan 2014 14:59:51 +0100 Subject: [PATCH] + fixes #0001350: error on line 1507 at column 1: Encoding error - Not possible to create a drawing in french language --- src/Mod/Drawing/Gui/TaskOrthoViews.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Mod/Drawing/Gui/TaskOrthoViews.cpp b/src/Mod/Drawing/Gui/TaskOrthoViews.cpp index f876b86ec0cb..3309614436e9 100644 --- a/src/Mod/Drawing/Gui/TaskOrthoViews.cpp +++ b/src/Mod/Drawing/Gui/TaskOrthoViews.cpp @@ -210,7 +210,7 @@ void orthoView::setDir(int i) if (active) { Command::doCommand(Command::Doc,"App.activeDocument().%s.Direction = (%d,%d,%d)",myname.c_str(),vx,vy,vz); - Command::doCommand(Command::Doc,"App.activeDocument().%s.Label = '%s'",myname.c_str(),number_to_name(i).toStdString().c_str()); + Command::doCommand(Command::Doc,"App.activeDocument().%s.Label = '%s'",myname.c_str(),(const char*)number_to_name(i).toUtf8()); } }