diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2011-07-27 14:58:28 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2011-07-27 14:58:28 +0000 |
commit | 4e4c3f0679ca7e81dec55e57275df8005269ce1e (patch) | |
tree | 6332092267a4d327a0d17412cd1d12571d87445d /roff.c | |
parent | 21faecc0fbe4cc67e0f3a2c54f693b486a286332 (diff) | |
download | mandoc-4e4c3f0679ca7e81dec55e57275df8005269ce1e.tar.gz |
Fix a memory-offset bug that was hell tracking down.
Diffstat (limited to 'roff.c')
-rw-r--r-- | roff.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -496,7 +496,7 @@ again: /* Replace the escape sequence by the string. */ - pos += (stesc - *bufp); + pos = stesc - *bufp; nsz = *szp + strlen(res) + 1; n = mandoc_malloc(nsz); |