aboutsummaryrefslogtreecommitdiff
path: root/math/xgfe/files/patch-rotation.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'math/xgfe/files/patch-rotation.cpp')
-rw-r--r--math/xgfe/files/patch-rotation.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/math/xgfe/files/patch-rotation.cpp b/math/xgfe/files/patch-rotation.cpp
index 648b697b1bfe..7831f893951a 100644
--- a/math/xgfe/files/patch-rotation.cpp
+++ b/math/xgfe/files/patch-rotation.cpp
@@ -7,8 +7,8 @@ diff -u rotation.cpp.orig rotation.cpp
{
- string scale = plotScalingEdit->text();
- string zscale = zAxisScalingEdit->text();
-+ string scale = string(plotScalingEdit->text());
-+ string zscale = string(zAxisScalingEdit->text());
++ string scale = plotScalingEdit->text().ascii();
++ string zscale = zAxisScalingEdit->text().ascii();
gnuInt->setRotationXAxis(xAxisRotation);
gnuInt->setRotationZAxis(zAxisRotation);