aboutsummaryrefslogtreecommitdiffstats
path: root/math/xgfe/files/patch-psOpt.cpp
blob: b03c2fc30f404db8fd927ab71ce79127d1b5ad0c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
diff -u psOpt.cpp.orig psOpt.cpp
--- psOpt.cpp.orig  Tue May 19 05:39:02 1998
+++ psOpt.cpp   Thu Oct 30 21:42:04 2003
@@ -88,14 +88,14 @@
 
 void psOpt::setTerm()
 {
-  string mode = modeList->currentText();
-  string color = colorList->currentText();
-  string dashed = dashedList->currentText();
-  string enhanced = enhancedList->currentText();
-  string fontName = fontNameEdit->text();
-  string fontSize = fontSizeEdit->text();
-  string hSize = horizSize->text();
-  string vSize = vertSize->text();
+  string mode = modeList->currentText().ascii();
+  string color = colorList->currentText().ascii();
+  string dashed = dashedList->currentText().ascii();
+  string enhanced = enhancedList->currentText().ascii();
+  string fontName = fontNameEdit->text().ascii();
+  string fontSize = fontSizeEdit->text().ascii();
+  string hSize = horizSize->text().ascii();
+  string vSize = vertSize->text().ascii();
 
   gnuInt->setTermPSmode(mode);
   gnuInt->setTermPScolor(color);