i18n patch: fix wrongly merged code in cut.c

* src/cut.c (cut_characters_or_cut_bytes_no_split): Move setting
of print_delimiter into the correct scope.
This commit is contained in:
Bernhard Voelker 2014-01-04 22:34:02 +01:00 committed by Ondřej Vašík
parent 40bc313160
commit 963813cd96

View File

@ -238,10 +238,12 @@ diff -urNp coreutils-8.22-orig/src/cut.c coreutils-8.22/src/cut.c
+ if (output_delimiter_specified)
+ {
+ if (print_delimiter && is_range_start_index (idx))
+ fwrite (output_delimiter_string, sizeof (char),
+ output_delimiter_length, stdout);
+ {
+ fwrite (output_delimiter_string, sizeof (char),
+ output_delimiter_length, stdout);
+ }
+ print_delimiter = true;
+ }
+ print_delimiter = true;
+ fwrite (bufpos, mblength, sizeof(char), stdout);
+ }
+ }