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
c69b02438f
commit
3ead0207ae
2
watch.c
2
watch.c
@ -823,7 +823,7 @@ int main(int argc, char *argv[])
|
|||||||
|
|
||||||
if (show_title)
|
if (show_title)
|
||||||
#ifdef WITH_WATCH8BIT
|
#ifdef WITH_WATCH8BIT
|
||||||
output_header(wcommand, wcommand_columns, wcommand_characters, interval);
|
output_header(wcommand, wcommand_characters, interval);
|
||||||
#else
|
#else
|
||||||
output_header(command, interval);
|
output_header(command, interval);
|
||||||
#endif /* WITH_WATCH8BIT */
|
#endif /* WITH_WATCH8BIT */
|
||||||
|
Loading…
Reference in New Issue
Block a user