-#include "../kernel/openbox.h"
#include "font.h"
-
-#include "../kernel/gettext.h"
+#include "kernel/openbox.h"
+#include "kernel/geom.h"
+#include "kernel/gettext.h"
#define _(str) gettext(str)
#include <X11/Xft/Xft.h>
#include <glib.h>
-#include "../kernel/geom.h"
+#include <string.h>
#define ELIPSES "..."
#define ELIPSES_LENGTH(font, shadow, offset) \
break;
}
+ l = strlen(text->str); /* number of bytes */
+
if (t->shadow) {
if (t->tint >= 0) {
c.color.red = 0;