whoops, strcmp == 0 if equal

This commit is contained in:
Brad Grantham 2016-12-04 13:09:56 -08:00
parent ebd5d06e87
commit 85b741e61c

View File

@ -321,7 +321,7 @@ struct DISKIIboard : board_base
floppy_present[number] = true;
unsigned char *skew;
if(strcmp(name + strlen(name) - 3, ".po"))
if(strcmp(name + strlen(name) - 3, ".po") == 0)
skew = floppy_poSector;
else
skew = floppy_doSector;