diff --git a/4coder_project_commands.cpp b/4coder_project_commands.cpp index 534f3946..5256c083 100644 --- a/4coder_project_commands.cpp +++ b/4coder_project_commands.cpp @@ -466,7 +466,7 @@ exec_project_fkey_command(Application_Links *app, int32_t command_ind){ View_Summary view_ = {0}; View_Summary *view = 0; Buffer_Identifier buffer_id = {0}; - uint32_t flags = 0; + uint32_t flags = CLI_OverlapWithConflict; bool32 set_fancy_font = false; if (out[0] != 0){ diff --git a/4coder_system_command.cpp b/4coder_system_command.cpp index cec2c8ab..19382778 100644 --- a/4coder_system_command.cpp +++ b/4coder_system_command.cpp @@ -37,8 +37,7 @@ CUSTOM_COMMAND_SIG(execute_any_cli){ bar_cmd.string = make_fixed_width_string(command_space); if (!query_user_string(app, &bar_cmd)) return; - String hot_directory = make_fixed_width_string(hot_directory_space); - hot_directory.size = directory_get_hot(app, hot_directory.str, hot_directory.memory_size); + directory_get_hot(app, hot_directory_space, sizeof(hot_directory_space)); execute_previous_cli(app); }