decrease value of clipboard area size

git-svn-id: svn://kolibrios.org@6975 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
0CodErr 2017-09-13 10:55:55 +00:00
parent ea4f9aa063
commit 9def9b40db

View File

@ -22,6 +22,7 @@ put_to_clipboard:
; build the clipboard slot header ; build the clipboard slot header
mov esi,[clipboard_buf] mov esi,[clipboard_buf]
sub edi,esi sub edi,esi
dec edi
mov [esi],edi ; clipboard area size mov [esi],edi ; clipboard area size
xor eax,eax xor eax,eax
mov [esi+4],eax ; type 'text' mov [esi+4],eax ; type 'text'