libdrawtext

diff src/drawgl.c @ 55:59e5858de836

fixed a bug in utf-8 decoding
author John Tsiombikas <nuclear@mutantstargoat.com>
date Thu, 15 Sep 2011 23:32:39 +0300
parents bfe431dd1d80
children 095ff7ca4e74
line diff
     1.1 --- a/src/drawgl.c	Thu Sep 15 13:56:54 2011 +0300
     1.2 +++ b/src/drawgl.c	Thu Sep 15 23:32:39 2011 +0300
     1.3 @@ -32,7 +32,7 @@
     1.4  static int vattr = -1;
     1.5  static int tattr = -1;
     1.6  static unsigned int font_tex;
     1.7 -static int buf_mode = DTX_LBF;
     1.8 +static int buf_mode = DTX_NBF;
     1.9  
    1.10  static struct dtx_font *font;
    1.11  static int font_sz;