From 9cdba256f8dae82a158733a3ada89d6c10a7962c Mon Sep 17 00:00:00 2001 From: nigel <> Date: Tue, 27 Jan 2004 11:31:01 +0000 Subject: [PATCH] Corrected removal of bad serial prefs data --- BasiliskII/src/MacOSX/prefs_macosx.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/BasiliskII/src/MacOSX/prefs_macosx.cpp b/BasiliskII/src/MacOSX/prefs_macosx.cpp index d21ff749..883b20b1 100644 --- a/BasiliskII/src/MacOSX/prefs_macosx.cpp +++ b/BasiliskII/src/MacOSX/prefs_macosx.cpp @@ -95,14 +95,14 @@ void LoadPrefs(void) && strcmp(str, "/dev/ttys0") == 0 ) { puts("Deleting invalid prefs item 'seriala /dev/ttys0'"); - PrefsRemoveItem("seriala"); + PrefsRemoveItem("seriala", 1); } if ( (str = PrefsFindString("serialb") ) != NULL && strcmp(str, "/dev/ttys1") == 0 ) { puts("Deleting invalid prefs item 'serialb /dev/ttys1'"); - PrefsRemoveItem("serialb"); + PrefsRemoveItem("serialb", 1); } }