wmii

git clone git://oldgit.suckless.org/wmii/
Log | Files | Refs | README | LICENSE

textwidth.c (243B)


      1 /* Copyright ©2007-2010 Kris Maglione <maglione.k at Gmail>
      2  * See LICENSE file for license details.
      3  */
      4 #include <string.h>
      5 #include "../x11.h"
      6 
      7 uint
      8 textwidth(Font *font, const char *text) {
      9 	return textwidth_l(font, text, strlen(text));
     10 }