forked from KolibriOS/kolibrios
fix prior rev
git-svn-id: svn://kolibrios.org@7038 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
90b630f05f
commit
58bb0f9255
@ -5,8 +5,6 @@ byte cut_active=0;
|
|||||||
|
|
||||||
enum {NOCUT, CUT};
|
enum {NOCUT, CUT};
|
||||||
|
|
||||||
Clipboard clipboard;
|
|
||||||
|
|
||||||
void setElementSelectedFlag(dword n, int state) {
|
void setElementSelectedFlag(dword n, int state) {
|
||||||
dword selected_offset = file_mas[n]*304 + buf+32 + 7;
|
dword selected_offset = file_mas[n]*304 + buf+32 + 7;
|
||||||
ESBYTE[selected_offset] = state;
|
ESBYTE[selected_offset] = state;
|
||||||
@ -53,7 +51,7 @@ void Copy(dword pcth, char cut)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (selected_count==1) setElementSelectedFlag(files.cur_y, false);
|
if (selected_count==1) setElementSelectedFlag(files.cur_y, false);
|
||||||
clipboard.SetSlotData(size_buf, buff_data);
|
Clipboard__SetSlotData(size_buf, buff_data);
|
||||||
cut_active = cut;
|
cut_active = cut;
|
||||||
free(buff_data);
|
free(buff_data);
|
||||||
}
|
}
|
||||||
@ -73,7 +71,7 @@ void PasteThread()
|
|||||||
file_count_copy = 0;
|
file_count_copy = 0;
|
||||||
copy_bar.value = 0;
|
copy_bar.value = 0;
|
||||||
|
|
||||||
buf = clipboard.GetSlotData(clipboard.GetSlotCount()-1);
|
buf = Clipboard__GetSlotData(Clipboard__GetSlotCount()-1);
|
||||||
if (DSDWORD[buf+4] != 3) return;
|
if (DSDWORD[buf+4] != 3) return;
|
||||||
paste_elements_count = ESINT[buf+8];
|
paste_elements_count = ESINT[buf+8];
|
||||||
path_offset = buf + 10;
|
path_offset = buf + 10;
|
||||||
|
@ -177,5 +177,11 @@ void StopConnect(dword message) {
|
|||||||
Close(socketnum);
|
Close(socketnum);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void EventShowLinkMenu(dword _left, _top)
|
||||||
|
{
|
||||||
|
//do nothing, stub
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
stop:
|
stop:
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user