diff options
Diffstat (limited to 'src/xutf8/utf8Wrap.c')
| -rw-r--r-- | src/xutf8/utf8Wrap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xutf8/utf8Wrap.c b/src/xutf8/utf8Wrap.c index 6a028e391..c0a6b174c 100644 --- a/src/xutf8/utf8Wrap.c +++ b/src/xutf8/utf8Wrap.c @@ -665,7 +665,7 @@ XUtf8_measure_extents( if (last_fnum != fnum || no_spc) { XSetFont(display, gc, fonts[last_fnum]->fid); - res = XTextExtents16(fonts[last_fnum], buf, i, &dir_ret, &fnt_asc, &fnt_dsc, &sizes); + /* res = */ XTextExtents16(fonts[last_fnum], buf, i, &dir_ret, &fnt_asc, &fnt_dsc, &sizes); /* recover the dimensions - should verify that res == 0 first! */ wd += sizes.width; /* accumulate the width */ hs = sizes.ascent + sizes.descent; /* total height */ @@ -688,7 +688,7 @@ XUtf8_measure_extents( } XSetFont(display, gc, fonts[fnum]->fid); - res = XTextExtents16(fonts[fnum], buf, i, &dir_ret, &fnt_asc, &fnt_dsc, &sizes); + /* res = */ XTextExtents16(fonts[fnum], buf, i, &dir_ret, &fnt_asc, &fnt_dsc, &sizes); /* recover the dimensions - should verify that res == 0 first! */ wd += sizes.width; /* accumulate the width */ hs = sizes.ascent + sizes.descent; /* total height */ |
