From 673f824c3f430f29dd2da6c98d5315145ffb2d7a Mon Sep 17 00:00:00 2001 From: "Marat Zakiyanov (Mario79)" Date: Sun, 1 Dec 2013 10:27:40 +0000 Subject: [PATCH] Fix for r.4200 git-svn-id: svn://kolibrios.org@4317 a494cfbc-eb01-0410-851d-a64ba20cac60 --- programs/develop/examples/clipboard/clip_get.asm | 2 +- programs/develop/examples/clipboard/clip_put.asm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/programs/develop/examples/clipboard/clip_get.asm b/programs/develop/examples/clipboard/clip_get.asm index 4aa6cbba82..a89ba40f1f 100644 --- a/programs/develop/examples/clipboard/clip_get.asm +++ b/programs/develop/examples/clipboard/clip_get.asm @@ -127,7 +127,7 @@ draw_clipboard: cmp [eax],dword 0 jne .no_relevant_data_1 add eax,4 - cmp [eax],dword 866 + cmp [eax],dword 1 ; cp866 jne .no_relevant_data_2 add eax,4 diff --git a/programs/develop/examples/clipboard/clip_put.asm b/programs/develop/examples/clipboard/clip_put.asm index 052b1aaeb4..2d3f3293a6 100644 --- a/programs/develop/examples/clipboard/clip_put.asm +++ b/programs/develop/examples/clipboard/clip_put.asm @@ -117,7 +117,7 @@ operation_result_text: buffer_data: dd buffer_data.end - buffer_data dd 0 ; type 'text' - dd 866 ; text encoding + dd 1 ; cp866 text encoding db 'Test message to the clipboard' .end: ;---------------------------------------------------------------------