misc fixes
This commit is contained in:
parent
c4117c86a0
commit
79e04a54c7
|
@ -1869,6 +1869,9 @@ DOC_SEE(Buffer_Seek)
|
|||
Editing_File *file = view->file;
|
||||
Assert(file != 0);
|
||||
if (api_check_buffer(file)){
|
||||
if (file->settings.unwrapped_lines && seek.type == buffer_seek_wrapped_xy){
|
||||
seek.type = buffer_seek_unwrapped_xy;
|
||||
}
|
||||
Full_Cursor cursor = file_compute_cursor(models->system, file, seek);
|
||||
view_set_cursor(models->system, models, view, cursor, set_preferred_x);
|
||||
result = true;
|
||||
|
|
|
@ -127,8 +127,8 @@ Sys_Log_Sig(system_log){
|
|||
internal String
|
||||
win32_remove_unc_prefix_characters(String path){
|
||||
if (match_part(path, make_lit_string("\\\\?\\UNC"))){
|
||||
path.size -= 6;
|
||||
memmove(path.str, path.str + 6, path.size);
|
||||
path.size -= 7;
|
||||
memmove(path.str, path.str + 7, path.size);
|
||||
path.str[0] = '\\';
|
||||
}
|
||||
else if (match_part(path, make_lit_string("\\\\?\\"))){
|
||||
|
|
Loading…
Reference in New Issue