take current directory out of search path for custom_4coder
This commit is contained in:
parent
7c229f6ef0
commit
df06a352a2
|
@ -1869,7 +1869,6 @@ main(int argc, char **argv){
|
||||||
Scratch_Block scratch(&linuxvars.tctx);
|
Scratch_Block scratch(&linuxvars.tctx);
|
||||||
String_Const_u8 default_file_name = string_u8_litexpr("custom_4coder.so");
|
String_Const_u8 default_file_name = string_u8_litexpr("custom_4coder.so");
|
||||||
List_String_Const_u8 search_list = {};
|
List_String_Const_u8 search_list = {};
|
||||||
def_search_list_add_system_path(scratch, &search_list, SystemPath_CurrentDirectory);
|
|
||||||
def_search_list_add_system_path(scratch, &search_list, SystemPath_UserDirectory);
|
def_search_list_add_system_path(scratch, &search_list, SystemPath_UserDirectory);
|
||||||
def_search_list_add_system_path(scratch, &search_list, SystemPath_Binary);
|
def_search_list_add_system_path(scratch, &search_list, SystemPath_Binary);
|
||||||
String_Const_u8 custom_file_names[2] = {};
|
String_Const_u8 custom_file_names[2] = {};
|
||||||
|
|
|
@ -1830,7 +1830,6 @@ WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdS
|
||||||
Scratch_Block scratch(win32vars.tctx);
|
Scratch_Block scratch(win32vars.tctx);
|
||||||
String_Const_u8 default_file_name = string_u8_litexpr("custom_4coder.dll");
|
String_Const_u8 default_file_name = string_u8_litexpr("custom_4coder.dll");
|
||||||
List_String_Const_u8 search_list = {};
|
List_String_Const_u8 search_list = {};
|
||||||
def_search_list_add_system_path(scratch, &search_list, SystemPath_CurrentDirectory);
|
|
||||||
def_search_list_add_system_path(scratch, &search_list, SystemPath_UserDirectory);
|
def_search_list_add_system_path(scratch, &search_list, SystemPath_UserDirectory);
|
||||||
def_search_list_add_system_path(scratch, &search_list, SystemPath_Binary);
|
def_search_list_add_system_path(scratch, &search_list, SystemPath_Binary);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue