rm consts that wont compile on some libfreetype's
Dana Jansens danakj@orodu.net
1 files changed,
6 insertions(+),
6 deletions(-)
jump to
M
otk/font.cc
→
otk/font.cc
@@ -100,11 +100,11 @@
if (utf8) XftDrawStringUtf8(d, &c, _xftfont, x + _offset, _xftfont->ascent + y + _offset, - (const FcChar8*)string.c_str(), string.size()); + (FcChar8*)string.c_str(), string.size()); else XftDrawString8(d, &c, _xftfont, x + _offset, _xftfont->ascent + y + _offset, - (const FcChar8*)string.c_str(), string.size()); + (FcChar8*)string.c_str(), string.size()); } XftColor c;@@ -116,10 +116,10 @@ c.color.alpha = 0xff | 0xff << 8; // no transparency in BColor yet
if (utf8) XftDrawStringUtf8(d, &c, _xftfont, x, _xftfont->ascent + y, - (const FcChar8*)string.c_str(), string.size()); + (FcChar8*)string.c_str(), string.size()); else XftDrawString8(d, &c, _xftfont, x, _xftfont->ascent + y, - (const FcChar8*)string.c_str(), string.size()); + (FcChar8*)string.c_str(), string.size()); return; }@@ -131,10 +131,10 @@ XGlyphInfo info;
if (utf8) XftTextExtentsUtf8(OBDisplay::display, _xftfont, - (const FcChar8*)string.c_str(), string.size(), &info); + (FcChar8*)string.c_str(), string.size(), &info); else XftTextExtents8(OBDisplay::display, _xftfont, - (const FcChar8*)string.c_str(), string.size(), &info); + (FcChar8*)string.c_str(), string.size(), &info); return info.xOff + (_shadow ? _offset : 0); }