diff options
Diffstat (limited to 'src/drv')
| -rw-r--r-- | src/drv/cdirgb.c | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/src/drv/cdirgb.c b/src/drv/cdirgb.c index 2666a5a..7f6f64b 100644 --- a/src/drv/cdirgb.c +++ b/src/drv/cdirgb.c @@ -493,7 +493,7 @@ static void irgbClipText(cdCtxCanvas *ctxcanvas, int x, int y, const char *s, in    slot = face->glyph;    /* move the reference point to the baseline-left */ -  simGetPenPos(simulation->canvas, x, y, s, strlen(s), &matrix, &pen); +  simGetPenPos(simulation->canvas, x, y, s, len, &matrix, &pen);    while(i<len)    { | 
