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: ;---------------------------------------------------------------------