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 5a40c7970d
This commit is contained in:
Craig Small 2016-07-09 13:27:23 +10:00
parent c69b02438f
commit 3ead0207ae

View File

@ -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 */