From 4a897625a7fcfe46e7087998c8355e28dfaf2b96 Mon Sep 17 00:00:00 2001 From: insofaras Date: Fri, 1 Jul 2016 19:38:40 +0100 Subject: [PATCH] make linux build compile --- linux_4ed.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/linux_4ed.cpp b/linux_4ed.cpp index 8b791589..21fa2185 100644 --- a/linux_4ed.cpp +++ b/linux_4ed.cpp @@ -485,10 +485,9 @@ Sys_Set_File_List_Sig(system_set_file_list){ info_ptr->folder = entry->d_type == DT_DIR; } - info_ptr->filename.str = cursor_start; - info_ptr->filename.size = (i32)(cursor - cursor_start); + info_ptr->filename = cursor_start; + info_ptr->filename_len = (int)(cursor - cursor_start); *cursor++ = 0; - info_ptr->filename.memory_size = info_ptr->filename.size + 1; ++info_ptr; } @@ -1710,7 +1709,7 @@ LinuxKeycodeInit(Display* dpy){ struct SymMapping { KeySym sym; - Code code; + u8 code; } sym_table[] = { { XK_BackSpace, key_back }, { XK_Delete, key_del },