summaryrefslogtreecommitdiffstats
path: root/split.cc
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--split.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/split.cc b/split.cc
index 91b6263..7b3f9fd 100644
--- a/split.cc
+++ b/split.cc
@@ -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' );
}