summaryrefslogtreecommitdiff
path: root/graphics/xli/files/patch-ab
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/xli/files/patch-ab')
-rw-r--r--graphics/xli/files/patch-ab13
1 files changed, 13 insertions, 0 deletions
diff --git a/graphics/xli/files/patch-ab b/graphics/xli/files/patch-ab
new file mode 100644
index 000000000000..20a416e7bbeb
--- /dev/null
+++ b/graphics/xli/files/patch-ab
@@ -0,0 +1,13 @@
+--- xli.c.orig Wed Feb 9 14:53:35 2000
++++ xli.c Mon Mar 26 10:37:35 2001
+@@ -369,8 +369,8 @@
+ winheight = globals.dinfo.height;
+
+ if (!images[0].ats) {
+- atx = (winwidth - inew->width) / 2;
+- aty = (winheight - inew->height) / 2;
++ atx = (int)(winwidth - inew->width) / 2;
++ aty = (int)(winheight - inew->height) / 2;
+ }
+ /* use clip to put border around image */
+ itmp = clip(inew, -atx, -aty, winwidth, winheight,