diff options
| author | B. Watson <urchlay@slackware.uk> | 2024-12-23 04:25:49 -0500 | 
|---|---|---|
| committer | B. Watson <urchlay@slackware.uk> | 2024-12-23 04:25:49 -0500 | 
| commit | 393c2d3eb63e3df852208eb217a2dc578d09a1dd (patch) | |
| tree | 4f7e70c9ad859c856c715b45a247b8ed9c0d666a /uxd.c | |
| parent | 0cf6d8dca2d725c7ddfc92ab56a59bb882e67fc7 (diff) | |
| download | uxd-393c2d3eb63e3df852208eb217a2dc578d09a1dd.tar.gz | |
use fputs() rather than puts() for -t/-T (avoid extra newline)
Diffstat (limited to 'uxd.c')
| -rw-r--r-- | uxd.c | 4 | 
1 files changed, 2 insertions, 2 deletions
@@ -887,7 +887,7 @@ int main(int argc, char **argv) {  	parse_options(argc, argv);  	if(term_utf8)       /* -t, -T */ -		puts(ESC_UTF8_ON); +		fputs(ESC_UTF8_ON, stdout);  	if(dump_data_arg)  		dump_data();     /* -d */ @@ -898,7 +898,7 @@ int main(int argc, char **argv) {  		print_info();  	if(restore_term)    /* -T */ -		puts(ESC_UTF8_OFF); +		fputs(ESC_UTF8_OFF, stdout);  	return 0;  }  | 
