summaryrefslogtreecommitdiff
path: root/editors/TeXmacs/patches/patch-ag
diff options
context:
space:
mode:
Diffstat (limited to 'editors/TeXmacs/patches/patch-ag')
-rw-r--r--editors/TeXmacs/patches/patch-ag13
1 files changed, 13 insertions, 0 deletions
diff --git a/editors/TeXmacs/patches/patch-ag b/editors/TeXmacs/patches/patch-ag
new file mode 100644
index 00000000000..a4f45793682
--- /dev/null
+++ b/editors/TeXmacs/patches/patch-ag
@@ -0,0 +1,13 @@
+$NetBSD: patch-ag,v 1.1 2004/04/06 19:02:49 reinoud Exp $
+
+--- src/Edit/Editor/edit_main.cpp.orig 2004-04-03 21:20:48.000000000 +0200
++++ src/Edit/Editor/edit_main.cpp
+@@ -250,7 +250,7 @@ edit_main_rep::print (url name, bool con
+ string col_name= env->get_string (BG_COLOR);
+ dev->set_background (dis->get_color (col_name));
+ if (col_name != "white")
+- dev->clear (0, -h, w, 0);
++ dev->clear (0, (int) -h, (int) w, 0);
+
+ rectangles rs;
+ the_box[0]->sx(i)= 0;