From 58bb0f92553d883e58df1200d0caef47db8e26f4 Mon Sep 17 00:00:00 2001 From: "Kirill Lipatov (Leency)" Date: Sun, 1 Oct 2017 12:02:01 +0000 Subject: [PATCH] fix prior rev git-svn-id: svn://kolibrios.org@7038 a494cfbc-eb01-0410-851d-a64ba20cac60 --- programs/cmm/eolite/include/copy.h | 6 ++---- programs/cmm/liza/liza.c | 6 ++++++ 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/programs/cmm/eolite/include/copy.h b/programs/cmm/eolite/include/copy.h index 85e8ce1ce8..1a12ff6d04 100644 --- a/programs/cmm/eolite/include/copy.h +++ b/programs/cmm/eolite/include/copy.h @@ -5,8 +5,6 @@ byte cut_active=0; enum {NOCUT, CUT}; -Clipboard clipboard; - void setElementSelectedFlag(dword n, int state) { dword selected_offset = file_mas[n]*304 + buf+32 + 7; ESBYTE[selected_offset] = state; @@ -53,7 +51,7 @@ void Copy(dword pcth, char cut) } } if (selected_count==1) setElementSelectedFlag(files.cur_y, false); - clipboard.SetSlotData(size_buf, buff_data); + Clipboard__SetSlotData(size_buf, buff_data); cut_active = cut; free(buff_data); } @@ -73,7 +71,7 @@ void PasteThread() file_count_copy = 0; copy_bar.value = 0; - buf = clipboard.GetSlotData(clipboard.GetSlotCount()-1); + buf = Clipboard__GetSlotData(Clipboard__GetSlotCount()-1); if (DSDWORD[buf+4] != 3) return; paste_elements_count = ESINT[buf+8]; path_offset = buf + 10; diff --git a/programs/cmm/liza/liza.c b/programs/cmm/liza/liza.c index a6a2c120b9..f7f046538a 100644 --- a/programs/cmm/liza/liza.c +++ b/programs/cmm/liza/liza.c @@ -177,5 +177,11 @@ void StopConnect(dword message) { Close(socketnum); } +void EventShowLinkMenu(dword _left, _top) +{ + //do nothing, stub + return; +} + stop: