blob: 20a416e7bbeb2f47665be8653c595c0c85c229f3 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
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,
|