Fix repetition count in transcript being off by one
This commit is contained in:
@@ -1299,7 +1299,7 @@ void add_string_to_buf(std::string str, unsigned short indent) {
|
|||||||
last++;
|
last++;
|
||||||
}
|
}
|
||||||
if(is_dup) {
|
if(is_dup) {
|
||||||
int lastCount = 0;
|
int lastCount = 1;
|
||||||
if(num_pos > 0)
|
if(num_pos > 0)
|
||||||
sscanf(text_buffer[prev_pointer].line + num_pos, "%d", &lastCount);
|
sscanf(text_buffer[prev_pointer].line + num_pos, "%d", &lastCount);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user