diff options
author | John Kohl <jtkohl@mit.edu> | 1989-12-01 08:43:42 +0000 |
---|---|---|
committer | John Kohl <jtkohl@mit.edu> | 1989-12-01 08:43:42 +0000 |
commit | 0eb9f68a9d29405c09cb4d6304069e327d4948e0 (patch) | |
tree | d806fa0cd8fea73068e3d61039e06cf9ea9a74dc /zwgc/xshow.c | |
parent | 97c3eb9c2509d95696766727fa704a31745b3eea (diff) |
fix yet another bug in the dot -> underscore routine
Diffstat (limited to 'zwgc/xshow.c')
-rw-r--r-- | zwgc/xshow.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/zwgc/xshow.c b/zwgc/xshow.c index de72be9..e91e2a4 100644 --- a/zwgc/xshow.c +++ b/zwgc/xshow.c @@ -366,13 +366,14 @@ void fixup_and_draw(dpy, style, auxblocks, blocks, num, lines, numlines, char *no_dots_downcase_var(str) char *str; { - char *var; + register char *var, *var2; var = string_Downcase(var_get_variable(str)); + var2 = var; while (*var++) if (*var == '.') *var = '_'; - return(var); + return(var2); } #define MODE_TO_FONT(dpy,style,mode) \ |