Rev 5452 | Rev 7786 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 5452 | Rev 6258 | ||
---|---|---|---|
Line 791... | Line 791... | ||
791 | mov eax,8 |
791 | mov eax,8 |
792 | mov ebx,140 |
792 | mov ebx,140 |
793 | movzx ecx,dl |
793 | movzx ecx,dl |
794 | imul ecx,BTN_HEIGHT |
794 | imul ecx,BTN_HEIGHT |
795 | shl ecx,16 |
795 | shl ecx,16 |
796 | add ecx,BTN_HEIGHT-1 |
796 | add ecx,BTN_HEIGHT |
797 | ; edx = button identifier |
797 | ; edx = button identifier |
798 | mov esi,[sc.work] |
798 | mov esi,[sc.work] |
799 | cmp esi,0xdfdfdf |
799 | cmp esi,0xdfdfdf |
800 | jb nocorrect |
800 | jb nocorrect |
801 | sub esi,0x1b1b1b |
801 | sub esi,0x1b1b1b |