diff --git a/4coder_jumping.cpp b/4coder_jumping.cpp index 7b4a2c51..c1dd01b6 100644 --- a/4coder_jumping.cpp +++ b/4coder_jumping.cpp @@ -21,7 +21,7 @@ ms_style_verify(String line, int32_t left_paren_pos, int32_t right_paren_pos){ int32_t comma_pos = find_s_char(number, 0, ','); if (comma_pos < number.size){ String sub_number0 = substr(number, 0, comma_pos); - String sub_number1 = substr(number, comma_pos, number.size - comma_pos - 1); + String sub_number1 = substr(number, comma_pos + 1, number.size - comma_pos - 1); if (str_is_int_s(sub_number0) && str_is_int_s(sub_number1)){ result = true; }