aboutsummaryrefslogtreecommitdiffstats
path: root/src/xlib.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/xlib.c')
-rw-r--r--src/xlib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xlib.c b/src/xlib.c
index 3adda92..393617d 100644
--- a/src/xlib.c
+++ b/src/xlib.c
@@ -72,7 +72,7 @@ static void ximage(struct data_t *data, struct image *img, unsigned int width, u
width, height,
32, 0
);
- ximg->data = malloc(ximg->bytes_per_line * ximg->height);
+ ximg->data = malloc(ximg->bytes_per_line * ximg->height);
XInitImage(ximg);
}
(fast ? nearestscale : scale)(img, ximg->width, ximg->height, ximg->bytes_per_line, ximg->data);