From: oetiker Date: Sun, 1 May 2005 09:16:38 +0000 (+0000) Subject: allow for characters over 127 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=5d61d72540800412f80b41c9ec906914ed7ea984;p=rrdtool-all.git allow for characters over 127 git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2@457 a5681a0c-68f1-0310-ab6d-d61299d08faa --- diff --git a/program/src/rrd_gfx.c b/program/src/rrd_gfx.c index 9455d857..3335e913 100644 --- a/program/src/rrd_gfx.c +++ b/program/src/rrd_gfx.c @@ -395,7 +395,7 @@ gfx_string gfx_string_create(FT_Face face,const char *text, /* handle the tabs ... have a witespace glyph inserted, but set its width such that the distance of the new right edge is x times tabwidth from 0,0 where x is an integer. */ - char letter = text[n]; + unsigned char letter = text[n]; gottab = 0; if (letter == '\\' && n+1 < string->count && text[n+1] == 't'){ /* we have a tab here so skip the backslash and