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:
parent
518358dd50
commit
931576505b
2
watch.c
2
watch.c
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user