diff options
author | Kjell Wooding <kjell@cvs.openbsd.org> | 2005-12-13 19:01:33 +0000 |
---|---|---|
committer | Kjell Wooding <kjell@cvs.openbsd.org> | 2005-12-13 19:01:33 +0000 |
commit | 58e72beb4fe8203520b4d7b7c081d9b1acdca444 (patch) | |
tree | f04872ffe14981809082c97efc8112b14246dba9 /usr.bin/mg | |
parent | 2c6e8fce1dba1fb29894f7481977dfc13cfc5dfa (diff) |
Fix a typo (introduced in rev 1.6) that utterly broke cost calculations.
In theory, mg should now be much more efficient on slow displays (hello,
zaurus).
Spotted by lint. ok millert.
Diffstat (limited to 'usr.bin/mg')
-rw-r--r-- | usr.bin/mg/tty.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/mg/tty.c b/usr.bin/mg/tty.c index 55e4323f2fe..8409e4418bb 100644 --- a/usr.bin/mg/tty.c +++ b/usr.bin/mg/tty.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tty.c,v 1.24 2005/12/13 06:01:27 kjell Exp $ */ +/* $OpenBSD: tty.c,v 1.25 2005/12/13 19:01:32 kjell Exp $ */ /* This file is in the public domain. */ @@ -440,7 +440,7 @@ fakec(int c) static int charcost(char *s) { - int cci = 0; + cci = 0; tputs(s, nrow, fakec); return (cci); |