Rev 4827 | Rev 6023 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4827 | Rev 4828 | ||
---|---|---|---|
Line 33... | Line 33... | ||
33 | xor eax, eax |
33 | xor eax, eax |
34 | rep stosd |
34 | rep stosd |
35 | pop eax |
35 | pop eax |
Line 36... | Line 36... | ||
36 | 36 | ||
37 | mov [ebx + window.data_ptr], eax |
37 | mov [ebx + window.data_ptr], eax |
Line 38... | Line 38... | ||
38 | mov [ebx + window.flags], 0x04 |
38 | mov [ebx + window.flags], FLAG_SCROLL_LOW |
39 | 39 | ||
40 | add eax, window_data.text+2 ; let text begin at offset 2, this way the text will be prepended with two null bytes |
40 | add eax, window_data.text+2 ; let text begin at offset 2, this way the text will be prepended with two null bytes |
41 | mov [ebx + window.text_start], eax |
41 | mov [ebx + window.text_start], eax |