cleaned up arbitrary system command code more

master
Allen Webster 2017-07-17 17:16:29 -04:00
parent 367a72fa03
commit bd2ef80f30
2 changed files with 2 additions and 3 deletions

View File

@ -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){

View File

@ -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);
}