From 1c4ad880d11fdc2cb65e4c72b944a85650c0d779 Mon Sep 17 00:00:00 2001 From: Christophe CURIS Date: Sun, 16 Jun 2013 17:57:44 +0200 Subject: [PATCH] wmaker: Added 'const' attribute to local function 'drawMultiLineString' Signed-off-by: Christophe CURIS --- src/balloon.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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); -- 2.11.4.GIT