mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-22 14:08:06 +01:00
wmaker: Added 'const' attribute to local function 'drawMultiLineString'
Signed-off-by: Christophe CURIS <christophe.curis@free.fr>
This commit is contained in:
committed by
Carlos R. Mafra
parent
a092d8848a
commit
1c4ad880d1
@@ -117,10 +117,10 @@ static int getMaxStringWidth(WMFont * font, const char *text)
|
|||||||
|
|
||||||
static void
|
static void
|
||||||
drawMultiLineString(WMScreen * scr, Pixmap pixmap, WMColor * color,
|
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;
|
const char *p = text;
|
||||||
char *pb = p;
|
const char *pb = p;
|
||||||
int l = 0, pos = 0;
|
int l = 0, pos = 0;
|
||||||
int height = WMFontHeight(font);
|
int height = WMFontHeight(font);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user