tschak909 / platotermamiga

PLATOTerm for the Commodore-Amiga
GNU General Public License v3.0
8 stars 4 forks source link

Create preferences file if it does not exist. #21

Closed wschaub closed 5 years ago

wschaub commented 5 years ago

If we don't get a file handle with MODE_OLDFILE create an empty file with MODE_NEWFILE and then set the default preferences. This avoids a bug I found where running PLATOTerm on a real floppy or hard disk (instead of a mapped directory) would never create a preferences file.