diff options
author | wl <wl> | 2005-04-24 06:10:55 +0000 |
---|---|---|
committer | wl <wl> | 2005-04-24 06:10:55 +0000 |
commit | d59d17a500b2bf7968f072881ce5fae74fa1eafd (patch) | |
tree | 4d89b00ed394a9b0ccbd62b4fb04c69d60627a6b /src | |
parent | ebdfb9f9151def62bd51cf77d658a5e6c8543222 (diff) | |
download | groff-d59d17a500b2bf7968f072881ce5fae74fa1eafd.tar.gz |
* src/utils/xtotroff/xtotroff.c (MapFont): Fix variable declaration.
Diffstat (limited to 'src')
-rw-r--r-- | src/utils/xtotroff/xtotroff.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/utils/xtotroff/xtotroff.c b/src/utils/xtotroff/xtotroff.c index 3265596f..e7d1531c 100644 --- a/src/utils/xtotroff/xtotroff.c +++ b/src/utils/xtotroff/xtotroff.c @@ -176,10 +176,11 @@ static int MapFont(char *font_name, const char *troff_name) for (c = fi->min_char_or_byte2; c <= fi->max_char_or_byte2; c++) { const char *name = DviCharName(char_map, c, 0); if (charExists(fi, c)) { + int param[5]; + wid = charWidth(fi, c); fprintf(out, "%s\t%d", name ? name : "---", wid); - int param[5]; param[0] = charHeight(fi, c); param[1] = charDepth(fi, c); param[2] = 0; /* charRBearing (fi, c) - wid */ |