building on MSVC 2017
This commit is contained in:
parent
424bb2a52a
commit
a4ba194853
|
@ -883,8 +883,8 @@ CUSTOM_COMMAND_SIG(query_replace_identifier){
|
||||||
String r = replace.string;
|
String r = replace.string;
|
||||||
String w = with.string;
|
String w = with.string;
|
||||||
|
|
||||||
View_Summary view = get_active_view(app, AccessOpen);
|
view = get_active_view(app, AccessOpen);
|
||||||
Buffer_Summary buffer = get_buffer(app, view.buffer_id, AccessOpen);
|
buffer = get_buffer(app, view.buffer_id, AccessOpen);
|
||||||
int32_t pos = range.start;
|
int32_t pos = range.start;
|
||||||
|
|
||||||
Query_Bar bar;
|
Query_Bar bar;
|
||||||
|
|
|
@ -115,12 +115,9 @@ Sys_Font_Init_Sig(system_font_init){
|
||||||
u32 dir_len = system_get_binary_path(&dir_str);
|
u32 dir_len = system_get_binary_path(&dir_str);
|
||||||
Assert(dir_len < dir_max);
|
Assert(dir_len < dir_max);
|
||||||
|
|
||||||
{
|
|
||||||
String dir_str = make_string_cap(directory, dir_len, dir_max);
|
|
||||||
set_last_folder_sc(&dir_str, "fonts", '\\');
|
set_last_folder_sc(&dir_str, "fonts", '\\');
|
||||||
terminate_with_null(&dir_str);
|
terminate_with_null(&dir_str);
|
||||||
dir_len = dir_str.size;
|
dir_len = dir_str.size;
|
||||||
}
|
|
||||||
|
|
||||||
partition_reduce(scratch, dir_max - dir_len - 1);
|
partition_reduce(scratch, dir_max - dir_len - 1);
|
||||||
partition_align(scratch, 8);
|
partition_align(scratch, 8);
|
||||||
|
|
Loading…
Reference in New Issue