diff options
| author | David M. Syzdek <david@syzdek.net> | 2022-09-10 03:53:57 -0800 |
|---|---|---|
| committer | David M. Syzdek <david@syzdek.net> | 2022-09-10 03:53:57 -0800 |
| commit | 7d256253b9d4448f5a34117f1d829a14ff908ce1 (patch) | |
| tree | 243d2437432cdcfffca427476c03b6c548a804f3 /src | |
| parent | 0bac5edc3105d2c36108b154e117125ab821e1d4 (diff) | |
| download | bindletools-7d256253b9d4448f5a34117f1d829a14ff908ce1.tar.gz bindletools-7d256253b9d4448f5a34117f1d829a14ff908ce1.tar.bz2 bindletools-7d256253b9d4448f5a34117f1d829a14ff908ce1.tar.xz bindletools-7d256253b9d4448f5a34117f1d829a14ff908ce1.zip | |
bindletools: updating handling of -n option in encoding widgets
Diffstat (limited to 'src')
| -rw-r--r-- | src/widget-encodings.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/widget-encodings.c b/src/widget-encodings.c index 7452465..f4600f2 100644 --- a/src/widget-encodings.c +++ b/src/widget-encodings.c | |||
| @@ -365,7 +365,11 @@ bindle_widget_encodings_string( | |||
| 365 | }; | 365 | }; |
| 366 | }; | 366 | }; |
| 367 | 367 | ||
| 368 | printf("\n"); | 368 | if ((cnf->widget_flags & BINDLE_FLG_NEWLINE)) |
| 369 | { | ||
| 370 | bindle_strlcpy(res, "\n", sizeof(res)); | ||
| 371 | write(bindle_fdout, res, strlen(res)); | ||
| 372 | }; | ||
| 369 | 373 | ||
| 370 | return(0); | 374 | return(0); |
| 371 | } | 375 | } |
