diff options
author | scuri <scuri> | 2009-06-23 22:12:39 +0000 |
---|---|---|
committer | scuri <scuri> | 2009-06-23 22:12:39 +0000 |
commit | e44e028c101c1f7ede1a6ba9d3ab25c64e5d8392 (patch) | |
tree | 609c0bd702f542d0031d321ce019129f15818cb7 /src/sim | |
parent | f658209d25477c490bf1892e68a0fd1384c1dded (diff) |
*** empty log message ***
Diffstat (limited to 'src/sim')
-rw-r--r-- | src/sim/sim_text.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sim/sim_text.c b/src/sim/sim_text.c index afc7cde..05789b1 100644 --- a/src/sim/sim_text.c +++ b/src/sim/sim_text.c @@ -386,7 +386,7 @@ void cdtextSIM(cdCtxCanvas* ctxcanvas, int x, int y, const char* s, int len) y = _cdInvertYAxis(canvas, y); /* y is already inverted, invert back to cartesian space */ /* 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) { |