aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--chinese/qterm/files/patch-qterm_qtermtextline.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/chinese/qterm/files/patch-qterm_qtermtextline.cpp b/chinese/qterm/files/patch-qterm_qtermtextline.cpp
new file mode 100644
index 000000000000..1a5a0a6c2217
--- /dev/null
+++ b/chinese/qterm/files/patch-qterm_qtermtextline.cpp
@@ -0,0 +1,11 @@
+--- qterm/qtermtextline.cpp.orig Sat Nov 13 15:26:48 2004
++++ qterm/qtermtextline.cpp Sat Nov 13 15:27:41 2004
+@@ -235,7 +235,7 @@
+
+
+ if(index>=m_length)
+- return NULL;
++ return QCString();
+
+ printf("index=%d len=%d m_length=%d\n", index, len, m_length);
+