Dominique Leuenberger
9c4558f99d
GNOME 43.rc - let's get this into Staging to see what we break (e.g meson:test seems to be an issue already) OBS-URL: https://build.opensuse.org/request/show/1002604 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/cairo?expand=0&rev=152
18 lines
485 B
Diff
18 lines
485 B
Diff
Index: cairo-1.17.6/src/cairo-xlib-render-compositor.c
|
|
===================================================================
|
|
--- cairo-1.17.6.orig/src/cairo-xlib-render-compositor.c
|
|
+++ cairo-1.17.6/src/cairo-xlib-render-compositor.c
|
|
@@ -1325,10 +1325,10 @@ _cairo_xlib_surface_add_glyph (cairo_xli
|
|
}
|
|
n = new;
|
|
d = (uint32_t *) data;
|
|
- do {
|
|
+ while (c--) {
|
|
*n++ = bswap_32 (*d);
|
|
d++;
|
|
- } while (--c);
|
|
+ }
|
|
data = (uint8_t *) new;
|
|
}
|
|
break;
|