diff --git a/code/custom/4coder_jumping.cpp b/code/custom/4coder_jumping.cpp index e7adf549..d8e5e40d 100644 --- a/code/custom/4coder_jumping.cpp +++ b/code/custom/4coder_jumping.cpp @@ -133,7 +133,11 @@ parse_jump_location(String_Const_u8 line){ } u64 colon_pos2 = string_find_first(string_skip(line, colon_pos1 + 1), ':') + colon_pos1 + 1; - u64 colon_pos3 = string_find_first(string_skip(line, colon_pos2 + 1), ':') + colon_pos2 + 1; + u64 comma_pos2 = string_find_first(string_skip(line, colon_pos1 + 1), ',') + colon_pos1 + 1; + if (comma_pos2 < colon_pos2) { + colon_pos2 = comma_pos2; + } + u64 colon_pos3 = string_find_first(string_skip(line, colon_pos2 + 1), ':') + colon_pos2 + 1; if (colon_pos3 < line.size){ if (check_is_note(line, colon_pos3)){