Fixed bug in Floppy dropdowns, where selected values were not kept
This commit is contained in:
parent
1b7525ddc0
commit
568513e5b9
1 changed files with 1 additions and 1 deletions
|
@ -253,7 +253,7 @@ public:
|
|||
}
|
||||
else
|
||||
{
|
||||
if (diskfileList.getElementAt(idx) == changed_prefs.floppyslots[i].df)
|
||||
if (diskfileList.getElementAt(idx) != changed_prefs.floppyslots[i].df)
|
||||
{
|
||||
strncpy(changed_prefs.floppyslots[i].df, diskfileList.getElementAt(idx).c_str(), MAX_DPATH);
|
||||
disk_insert(i, changed_prefs.floppyslots[i].df);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue