aboutsummaryrefslogtreecommitdiff
path: root/games/znibbles/files/patch-src__X11__textarea.C
diff options
context:
space:
mode:
Diffstat (limited to 'games/znibbles/files/patch-src__X11__textarea.C')
-rw-r--r--games/znibbles/files/patch-src__X11__textarea.C20
1 files changed, 20 insertions, 0 deletions
diff --git a/games/znibbles/files/patch-src__X11__textarea.C b/games/znibbles/files/patch-src__X11__textarea.C
new file mode 100644
index 000000000000..9a569c1462ee
--- /dev/null
+++ b/games/znibbles/files/patch-src__X11__textarea.C
@@ -0,0 +1,20 @@
+--- src/X11/textarea.C.orig Sat Oct 26 01:07:26 2002
++++ src/X11/textarea.C Sat Oct 26 01:07:28 2002
+@@ -32,7 +32,7 @@
+ #include <Xm/ScrollBar.h>
+ #include <Xm/Text.h>
+
+-#include <iostream.h>
++#include <iostream>
+ #include "string.h"
+
+ #include "motifutil.H"
+@@ -91,7 +91,7 @@
+ XmTextSetCursorPosition(widget, XmTextGetLastPosition(widget));
+ XmTextShowPosition(widget, XmTextGetLastPosition(widget));
+ if (length > 9500) {
+- cout << "textarea warning!" << endl;
++ std::cout << "textarea warning!" << std::endl;
+ bbuf[0] = '\0';
+ }
+ }