]> Dogcows Code - chaz/openbox/commitdiff
add missing include, pass right args to font_draw
authorDerek Foreman <manmower@gmail.com>
Mon, 17 Mar 2003 00:08:03 +0000 (00:08 +0000)
committerDerek Foreman <manmower@gmail.com>
Mon, 17 Mar 2003 00:08:03 +0000 (00:08 +0000)
render/render.c

index 560ee38e67e2581753ef39a18c8494e941a3c66c..ebd681eabc3a4981b489cc91d87b51e5e9841e56 100644 (file)
@@ -3,6 +3,7 @@
 #include <glib.h>
 #include "render.h"
 #include "gradient.h"
+#include "font.h"
 #include "../kernel/openbox.h"
 
 int render_depth;
@@ -86,7 +87,7 @@ void x_paint(Window win, Appearance *l, int w, int h)
                 l->xftdraw = XftDrawCreate(ob_display, l->pixmap, 
                                         render_visual, render_colormap);
             }
-            font_draw(l->xftdraw, l->texture[i].data.text);
+            font_draw(l->xftdraw, &l->texture[i].data.text);
         break;
         }
     }
This page took 0.022565 seconds and 4 git commands to generate.