Fix F3 menu. Latest state now shows up as orange
This commit is contained in:
@@ -549,8 +549,8 @@ NEWSYM Get_File_Date
|
||||
pushad
|
||||
call ZFileGetFTime
|
||||
popad
|
||||
mov dx,[ZFDate]
|
||||
mov cx,[ZFTime]
|
||||
mov edx,[ZFDate]
|
||||
mov ecx,[ZFTime]
|
||||
ret
|
||||
|
||||
RefreshKeybBuffer:
|
||||
|
||||
@@ -242,8 +242,14 @@ DWORD ZFileDelete()
|
||||
|
||||
DWORD ZFileGetFTime()
|
||||
{
|
||||
ZFDate=0;
|
||||
struct stat filestat;
|
||||
ZFTime=0;
|
||||
if (stat (ZFFTimeFName, &filestat)<0)
|
||||
{
|
||||
ZFDate=0;
|
||||
} else {
|
||||
ZFDate=filestat.st_mtime;
|
||||
}
|
||||
return(0);
|
||||
}
|
||||
|
||||
|
||||
@@ -1255,8 +1255,10 @@ DetermineNew:
|
||||
mov bx,ax
|
||||
mov edx,fnamest+1
|
||||
call Get_File_Date
|
||||
%ifndef __LINUX__
|
||||
shl edx,16
|
||||
mov dx,cx
|
||||
%endif
|
||||
push edx
|
||||
call Close_File
|
||||
pop edx
|
||||
|
||||
@@ -1208,8 +1208,10 @@ DetermineNew:
|
||||
mov bx,ax
|
||||
mov edx,fnamest+1
|
||||
call Get_File_Date
|
||||
%ifndef __LINUX__
|
||||
shl edx,16
|
||||
mov dx,cx
|
||||
%endif
|
||||
push edx
|
||||
call Close_File
|
||||
pop edx
|
||||
|
||||
Reference in New Issue
Block a user