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 a904fe0..44e0964 100644 --- a/src/balloon.c +++ b/src/balloon.c @@ -88,10 +88,10 @@ static int countLines(const char *text) return h; } -static int getMaxStringWidth(WMFont * font, char *text) +static int getMaxStringWidth(WMFont * font, const char *text) { - char *p = text; - char *pb = p; + const char *p = text; + const char *pb = p; int pos = 0; int w = 0, wt; -- 1.7.10.4 -- To unsubscribe, send mail to [email protected].
