Code cleanup

This commit is contained in:
pagefault
2001-08-03 06:17:25 +00:00
parent 20ed0e65bf
commit bdefa45ff7
2 changed files with 23 additions and 23 deletions

View File

@@ -1757,14 +1757,14 @@ EXTSYM SystemTimewSecond
NEWSYM GetTimeInSeconds NEWSYM GetTimeInSeconds
call GetLocalTime call GetLocalTime
movzx eax,word [SystemTimewHour] movzx eax,word[SystemTimewHour]
mov ebx,60 mov ebx,60
mul ebx mul ebx
movzx ebx,word [SystemTimewMinute] movzx ebx,word[SystemTimewMinute]
add eax,ebx add eax,ebx
mov ebx,60 mov ebx,60
mul ebx mul ebx
movzx ebx,word [SystemTimewSecond] movzx ebx,word[SystemTimewSecond]
add eax,ebx add eax,ebx
ret ret

View File

@@ -2030,14 +2030,14 @@ NEWSYM GotoHomepage
NEWSYM GetTimeInSeconds NEWSYM GetTimeInSeconds
push dword SystemTime push dword SystemTime
call [_imp__GetLocalTime@4] call [_imp__GetLocalTime@4]
movzx eax,word [SystemTime.wHour] movzx eax,word[SystemTime.wHour]
mov ebx,60 mov ebx,60
mul ebx mul ebx
movzx ebx,word [SystemTime.wMinute] movzx ebx,word[SystemTime.wMinute]
add eax,ebx add eax,ebx
mov ebx,60 mov ebx,60
mul ebx mul ebx
movzx ebx,word [SystemTime.wSecond] movzx ebx,word[SystemTime.wSecond]
add eax,ebx add eax,ebx
ret ret