make linux build compile

master
insofaras 2016-07-01 19:38:40 +01:00
parent 6f81e5d3d5
commit 4a897625a7
1 changed files with 3 additions and 4 deletions

View File

@ -485,10 +485,9 @@ Sys_Set_File_List_Sig(system_set_file_list){
info_ptr->folder = entry->d_type == DT_DIR; info_ptr->folder = entry->d_type == DT_DIR;
} }
info_ptr->filename.str = cursor_start; info_ptr->filename = cursor_start;
info_ptr->filename.size = (i32)(cursor - cursor_start); info_ptr->filename_len = (int)(cursor - cursor_start);
*cursor++ = 0; *cursor++ = 0;
info_ptr->filename.memory_size = info_ptr->filename.size + 1;
++info_ptr; ++info_ptr;
} }
@ -1710,7 +1709,7 @@ LinuxKeycodeInit(Display* dpy){
struct SymMapping { struct SymMapping {
KeySym sym; KeySym sym;
Code code; u8 code;
} sym_table[] = { } sym_table[] = {
{ XK_BackSpace, key_back }, { XK_BackSpace, key_back },
{ XK_Delete, key_del }, { XK_Delete, key_del },