From: Christophe CURIS Date: Sun, 16 Jun 2013 15:57:44 +0000 (+0200) Subject: wmaker: Added 'const' attribute to local function 'drawMultiLineString' X-Git-Tag: wmaker-0.95.5~24 X-Git-Url: https://repo.or.cz/w/wmaker-crm.git/commitdiff_plain/1c4ad880d11fdc2cb65e4c72b944a85650c0d779 wmaker: Added 'const' attribute to local function 'drawMultiLineString' Signed-off-by: Christophe CURIS --- diff --git a/src/balloon.c b/src/balloon.c index 44e0964e..ff994b04 100644 --- a/src/balloon.c +++ b/src/balloon.c @@ -117,10 +117,10 @@ static int getMaxStringWidth(WMFont * font, const char *text) static void drawMultiLineString(WMScreen * scr, Pixmap pixmap, WMColor * color, - WMFont * font, int x, int y, char *text, int len) + WMFont *font, int x, int y, const char *text, int len) { - char *p = text; - char *pb = p; + const char *p = text; + const char *pb = p; int l = 0, pos = 0; int height = WMFontHeight(font);