]> Dogcows Code - chaz/openbox/blobdiff - render/font.c
maybe fix transients placed offscreen under certain conditions
[chaz/openbox] / render / font.c
index 4d9e0adf984d6acdcf9099afbbe4d33d6f60fd3d..5771a1c225b459bf03a2a35bfac3f841c67ada48 100644 (file)
@@ -28,7 +28,7 @@
 #include <glib.h>
 #include <string.h>
 #include <stdlib.h>
-#if defined(USE_PANGO) && !defined(ENABLE_NLS)
+#ifdef USE_PANGO
 #include <locale.h>
 #endif
 
@@ -291,8 +291,9 @@ void RrFontDraw(XftDraw *d, RrTextureText *t, RrRect *area)
     gint x,y,w,h;
     XftColor c;
     GString *text;
-    gint mw, mh;
+    gint mw;
 #ifndef USE_PANGO
+    gint mh;
     size_t l;
     gboolean shortened = FALSE;
 #else
This page took 0.020267 seconds and 4 git commands to generate.