diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2021-01-27 16:15:41 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2021-01-27 16:15:41 +0000 |
commit | 66d6ec5741312346aa4c4b058e06c584e0336028 (patch) | |
tree | 174763c6a2c37083bf3e81c8a9aca0b2eb40c9cc /zcat.cc | |
parent | Adding upstream version 1.9. (diff) | |
download | zutils-66d6ec5741312346aa4c4b058e06c584e0336028.tar.xz zutils-66d6ec5741312346aa4c4b058e06c584e0336028.zip |
Adding upstream version 1.10.upstream/1.10
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'zcat.cc')
-rw-r--r-- | zcat.cc | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ /* Zcat - decompress and concatenate files to standard output - Copyright (C) 2010-2020 Antonio Diaz Diaz. + Copyright (C) 2010-2021 Antonio Diaz Diaz. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -75,7 +75,7 @@ public: str[i] = '0'; } if( first_digit_pos > 0 ) str[--first_digit_pos] = '1'; - else str.insert( first_digit_pos, 1, '1' ); + else str.insert( str.begin() + first_digit_pos, '1' ); } int sprint( uint8_t * const buf ) |