Skip to content

Commit 72de283

Browse files
committed
Format
format
1 parent 7b1be28 commit 72de283

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

src/courtroom.cpp

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3516,19 +3516,16 @@ struct PauseInfo
35163516
// returns multiplier and number of digits to skip
35173517
static PauseInfo parse_pause_multiplier(const QString &text, int start_pos)
35183518
{
3519-
35203519
// matches upto 999 (and 1000) and also prevents leading zeros
35213520
static QRegularExpression pause_regex("^([1-9]\\d{0,2}|1000)");
35223521
QRegularExpressionMatch match = pause_regex.match(text.mid(start_pos));
3523-
35243522
if (match.hasMatch())
35253523
{
35263524
int value = match.captured(1).toInt();
35273525
int length = match.capturedLength(0);
35283526
return {value, length};
35293527
}
3530-
3531-
return {1, 0}; // default: multiplier=1, no digits to skip
3528+
return {1, 0}; // default: multiplier=1, no digits to skip
35323529
}
35333530

35343531
QString Courtroom::filter_ic_text(QString p_text, bool html, int target_pos, int default_color)

0 commit comments

Comments
 (0)