From 03463abebc6dbda8e63a872230fa3bbbe0ea3d11 Mon Sep 17 00:00:00 2001 From: Ryan Fleury Date: Fri, 21 Aug 2026 11:05:53 -0700 Subject: [PATCH] fix incorrect bad-project-file checkin --- src/raddbg/raddbg_core.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/src/raddbg/raddbg_core.c b/src/raddbg/raddbg_core.c index 87a55bd1..2aeec9df 100644 --- a/src/raddbg/raddbg_core.c +++ b/src/raddbg/raddbg_core.c @@ -13920,14 +13920,7 @@ rd_frame(void) FileProperties file_props = properties_from_file_path(file_path); //- rjf: determine if the file is good - B32 file_is_okay = 0; - { - String8 stored_path = (kind == RD_CmdKind_OpenUser ? rd_state->user_path : rd_state->project_path); - file_is_okay = (((file_props.size == 0 && file_props.created == 0) || - str8_match(file_path, stored_path, 0) || - stored_path.size == 0) && - (file_data.size == 0 || str8_match(str8_prefix(file_data, 9), str8_lit("// raddbg"), 0))); - } + B32 file_is_okay = (file_data.size == 0 || str8_match(str8_prefix(file_data, 9), s("// raddbg"), 0)); //- rjf: determine file's version String8 file_version = {0};