]> Dogcows Code - chaz/openbox/blobdiff - render/render.c
Fix a couple memory leaks.
[chaz/openbox] / render / render.c
index 96866923f568b7ce713e939fe8ea500e1391c3b2..a8539d7a3a94db77f68d381ba748d0c5b8fabbae 100644 (file)
@@ -23,7 +23,7 @@ void RrPaint(RrAppearance *l, Window win, gint w, gint h)
     int i, transferred = 0, sw;
     RrPixel32 *source, *dest;
     Pixmap oldp;
-    Rect tarea; /* area in which to draw textures */
+    RrRect tarea; /* area in which to draw textures */
     gboolean resized;
 
     if (w <= 0 || h <= 0) return;
@@ -232,7 +232,7 @@ static void RrPixel32_to_pixmap(RrAppearance *l, gint x, gint y, gint w, gint h)
     in = l->surface.RrPixel_data;
     out = l->pixmap;
 
-    im->byte_order = RrEndian;
+    im->byte_order = LSBFirst;
 /* this malloc is a complete waste of time on normal 32bpp
    as reduce_depth just sets im->data = data and returns
 */
This page took 0.023095 seconds and 4 git commands to generate.