Salome HOME
projects
/
modules
/
gui.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Unicode support: correct handling of unicode on GUI level
[modules/gui.git]
/
src
/
Plot2d
/
Plot2d_AnalyticalParser.cxx
diff --git
a/src/Plot2d/Plot2d_AnalyticalParser.cxx
b/src/Plot2d/Plot2d_AnalyticalParser.cxx
index 09f963b80935a21f1d8deed5b5bfd953d39ec540..a8de35e8268d54f2da1ff84c683dcba8c11f96b7 100755
(executable)
--- a/
src/Plot2d/Plot2d_AnalyticalParser.cxx
+++ b/
src/Plot2d/Plot2d_AnalyticalParser.cxx
@@
-182,7
+182,7
@@
int Plot2d_AnalyticalParser::calculate( const QString& theExpr,
aPyScript = aPyScript.arg(theExpr);
int result = -1;
PyGILState_STATE gstate = PyGILState_Ensure();
aPyScript = aPyScript.arg(theExpr);
int result = -1;
PyGILState_STATE gstate = PyGILState_Ensure();
- PyObject* obj = PyRun_String(qPrintable(aPyScript), Py_file_input, myMainDict, NULL);
+ PyObject* obj = PyRun_String(q
Utf8
Printable(aPyScript), Py_file_input, myMainDict, NULL);
if(obj == NULL) {
PyErr_Print();
if(obj == NULL) {
PyErr_Print();