1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-22 22:28:02 +01:00

wmaker: Added 'const' attribute to local function 'drawMultiLineString'

Signed-off-by: Christophe CURIS <christophe.curis@free.fr>
This commit is contained in:
Christophe CURIS
2013-06-16 17:57:44 +02:00
committed by Carlos R. Mafra
parent a092d8848a
commit 1c4ad880d1

View File

@@ -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);