pinosaur
/
dmenu.git
/ blob
a8407f62158c51f588131bd39b0d98ab0fa21fa2
[dmenu.git]
/
textw.c
1
/* See LICENSE file for copyright and license details. */
2
#include <string.h>
3
#include <X11/Xlib.h>
4
#include "draw.h"
5
6
int
7
textw(DC *dc, const char *text) {
8
return textnw(dc, text, strlen(text)) + dc->font.height;
9
}