diff options
Diffstat (limited to 'math/xgfe/files/patch-sizeOp.cpp')
-rw-r--r-- | math/xgfe/files/patch-sizeOp.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/math/xgfe/files/patch-sizeOp.cpp b/math/xgfe/files/patch-sizeOp.cpp index 80a641be6956..bfc8e268ae51 100644 --- a/math/xgfe/files/patch-sizeOp.cpp +++ b/math/xgfe/files/patch-sizeOp.cpp @@ -7,8 +7,8 @@ diff -u sizeOp.cpp.orig sizeOp.cpp { - string hSize = hSizeEdit->text(); - string vSize = vSizeEdit->text(); -+ string hSize = string(hSizeEdit->text()); -+ string vSize = string(vSizeEdit->text()); ++ string hSize = hSizeEdit->text().ascii(); ++ string vSize = vSizeEdit->text().ascii(); gnuInt->setHorizSize(hSize); gnuInt->setVertSize(vSize); |