mirror of
https://codeberg.org/flk/meta-wayland.git
synced 2024-12-29 06:48:22 +01:00
c38db22ef6
upstream is long dead, add various fixes
15 lines
404 B
Diff
15 lines
404 B
Diff
--- a/src/aarender.c
|
|
+++ b/src/aarender.c
|
|
@@ -63,10 +63,10 @@ void aa_renderpalette(aa_context * c, __
|
|
errors[0] = calloc(1, (x2 + 5) * sizeof(int));
|
|
if (errors[0] == NULL)
|
|
dither = AA_ERRORDISTRIB;
|
|
- errors[0] += 3;
|
|
errors[1] = calloc(1, (x2 + 5) * sizeof(int));
|
|
if (errors[1] == NULL)
|
|
free(errors[0]), dither = AA_ERRORDISTRIB;
|
|
+ errors[0] += 3;
|
|
errors[1] += 3;
|
|
cur = 0;
|
|
}
|