Rev 6462 | Rev 6900 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 6462 | Rev 6472 | ||
---|---|---|---|
Line 3... | Line 3... | ||
3 | ;; Copyright (C) KolibriOS team 2004-2015. All rights reserved. ;; |
3 | ;; Copyright (C) KolibriOS team 2004-2015. All rights reserved. ;; |
4 | ;; Distributed under terms of the GNU General Public License ;; |
4 | ;; Distributed under terms of the GNU General Public License ;; |
5 | ;; ;; |
5 | ;; ;; |
6 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
6 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
Line 7... | Line 7... | ||
7 | 7 | ||
Line 8... | Line 8... | ||
8 | $Revision: 6462 $ |
8 | $Revision: 6472 $ |
9 | 9 | ||
10 | dtext: |
10 | dtext: |
11 | ; edx -> string |
11 | ; edx -> string |
Line 139... | Line 139... | ||
139 | jmp .drawUTF16 |
139 | jmp .drawUTF16 |
Line 140... | Line 140... | ||
140 | 140 | ||
141 | .drawUTF8: |
141 | .drawUTF8: |
142 | dec dword [esp] |
142 | dec dword [esp] |
143 | js .done |
- | |
144 | mov ecx, 256 |
143 | js .done |
145 | xor eax, eax |
144 | xor eax, eax |
146 | call utf8to16 |
145 | call utf8to16 |
147 | test ax, ax |
146 | test eax, eax |
148 | jz .done |
147 | jz .done |
149 | cmp eax, 1419 |
148 | cmp eax, 1419 |
150 | jc @f |
149 | jc @f |
151 | xor eax, eax |
150 | xor eax, eax |