aboutsummaryrefslogtreecommitdiff
path: root/devel/anjuta/files/patch-src_aneditor.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'devel/anjuta/files/patch-src_aneditor.cxx')
-rw-r--r--devel/anjuta/files/patch-src_aneditor.cxx12
1 files changed, 12 insertions, 0 deletions
diff --git a/devel/anjuta/files/patch-src_aneditor.cxx b/devel/anjuta/files/patch-src_aneditor.cxx
new file mode 100644
index 000000000000..f8e2d88bce8b
--- /dev/null
+++ b/devel/anjuta/files/patch-src_aneditor.cxx
@@ -0,0 +1,12 @@
+--- src/aneditor.cxx.orig Tue Nov 5 15:51:38 2002
++++ src/aneditor.cxx Tue Nov 5 15:52:01 2002
+@@ -289,6 +289,9 @@
+ void EvalOutputArrived(GList* lines, int textPos, const string &expression);
+ };
+
++inline bool nonFuncChar(char ch) {
++ return strchr("\t\n\r !\"#%&'()*+,-./:;<=>?@[\\]^`{|}~", ch) != NULL;
++}
+
+ class ExpressionEvaluationTipInfo
+ // Utility class to help displaying expression values in tips.