From: Christophe CURIS <[email protected]>

Signed-off-by: Christophe CURIS <[email protected]>
---
 src/balloon.c |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/balloon.c b/src/balloon.c
index 44e0964..b23a9d2 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);
 
-- 
1.7.10.4


-- 
To unsubscribe, send mail to [email protected].

Reply via email to