mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-04 00:57:14 +08:00
14 lines
467 B
Diff
14 lines
467 B
Diff
--- src/modules/loaders/loader_xpm.c
|
|
+++ src/modules/loaders/loader_xpm.c.new
|
|
@@ -246,8 +246,8 @@
|
|
return 0;
|
|
}
|
|
ptr = im->data;
|
|
- end = ptr + (sizeof(DATA32) * w * h);
|
|
pixels = w * h;
|
|
+ end = ptr + pixels;
|
|
}
|
|
else
|
|
{
|
|
|