diff options
Diffstat (limited to 'split.cc')
-rw-r--r-- | split.cc | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -43,9 +43,8 @@ void first_filename( const std::string & input_filename, output_filename = input_filename; int b = output_filename.size(); while( b > 0 && output_filename[b-1] != '/' ) --b; - output_filename.insert( b, 1, '1' ); - if( max_digits > 1 ) output_filename.insert( b, max_digits - 1, '0' ); - output_filename.insert( b, "rec" ); + output_filename.insert( b, "rec1" ); + if( max_digits > 1 ) output_filename.insert( b + 3, max_digits - 1, '0' ); } |