summaryrefslogtreecommitdiff
path: root/math/xgfe/files/patch-funcLegendTitle.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'math/xgfe/files/patch-funcLegendTitle.cpp')
-rw-r--r--math/xgfe/files/patch-funcLegendTitle.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/math/xgfe/files/patch-funcLegendTitle.cpp b/math/xgfe/files/patch-funcLegendTitle.cpp
index b3fa226aa833..18a4130a4f78 100644
--- a/math/xgfe/files/patch-funcLegendTitle.cpp
+++ b/math/xgfe/files/patch-funcLegendTitle.cpp
@@ -6,7 +6,7 @@ diff -u funcLegendTitle.cpp.orig funcLegendTitle.cpp
void funcLegendTitle::setFuncLegendTitleOK()
{
- string title = funcLegendTitleEdit->text();
-+ string title = string(funcLegendTitleEdit->text());
++ string title = funcLegendTitleEdit->text().ascii();
gnuInt->setFuncLegendTitle(title);
if (defaultCButton->isChecked() == TRUE)