mirror of
https://github.com/Michaelangel007/apple2_prodos_utils.git
synced 2025-08-05 14:24:11 +00:00
Fix logic bug with date string
This commit is contained in:
@@ -302,7 +302,7 @@ bool getCopyConfig( ProDOS_FileHeader_t *entry, const char *arg )
|
||||
|
||||
//-date=MM/DD/YY
|
||||
//-date=DD-MON-YR
|
||||
if( (nLenSuffix != 8) || nLenSuffix != 9 )
|
||||
if( (nLenSuffix < 8) || nLenSuffix > 9 )
|
||||
{
|
||||
printf( "ERROR: Invalid date. Format is MM/DD/YY or DD-MON-YR\n" );
|
||||
return false;
|
||||
|
Reference in New Issue
Block a user