Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
+ fixes #1350: error on line 1507 at column 1: Encoding error - Not p…
…ossible to create a drawing in french language
  • Loading branch information
wwmayer committed Jan 11, 2014
1 parent a7b16c5 commit 1b9f4e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Mod/Drawing/Gui/TaskOrthoViews.cpp
Expand Up @@ -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());
}
}

Expand Down

0 comments on commit 1b9f4e7

Please sign in to comment.