Commit 3ead0207 authored by Craig Small's avatar Craig Small

watch: fix 8bit regression

As part of the fix to truncate the command in non-8bit, watch had
the function for output_header changed (much for scope cleanliness
and cohesiveness than anything; so I'm going to blame Meyer)...

Anyhow the 8bit enabled version did not have that update which
meant watch failed to compile. Thanks to @asavah for issue #37
and the patch.

References:
 commit 5a40c797
parent c69b0243
......@@ -823,7 +823,7 @@ int main(int argc, char *argv[])
if (show_title)
#ifdef WITH_WATCH8BIT
output_header(wcommand, wcommand_columns, wcommand_characters, interval);
output_header(wcommand, wcommand_characters, interval);
#else
output_header(command, interval);
#endif /* WITH_WATCH8BIT */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment