From 71932affc8b1c978f1fc457b4ba4dd1d8d8c39b3 Mon Sep 17 00:00:00 2001 From: Maximilian Irlinger Date: Mon, 15 Sep 2014 07:27:40 +0200 Subject: [PATCH] One more style change --- SheepShaver/src/MacOSX/Launcher/VMSettingsController.mm | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/SheepShaver/src/MacOSX/Launcher/VMSettingsController.mm b/SheepShaver/src/MacOSX/Launcher/VMSettingsController.mm index e3fb6803..49e4c9ac 100755 --- a/SheepShaver/src/MacOSX/Launcher/VMSettingsController.mm +++ b/SheepShaver/src/MacOSX/Launcher/VMSettingsController.mm @@ -101,8 +101,7 @@ static NSString *getStringFromPrefs(const char *key) const char *dsk; int index = 0; - while ((dsk = PrefsFindString("disk", index++)) != NULL) - { + while ((dsk = PrefsFindString("disk", index++)) != NULL) { DiskType *disk = [[DiskType alloc] init]; [disk setPath:[NSString stringWithUTF8String: dsk ]]; [disk setIsCDROM:NO]; @@ -112,7 +111,7 @@ static NSString *getStringFromPrefs(const char *key) /* Fetch all CDROMs */ index = 0; - while ((dsk=PrefsFindString("cdrom", index++))!=NULL) { + while ((dsk = PrefsFindString("cdrom", index++)) != NULL) { DiskType *disk = [[DiskType alloc] init]; [disk setPath:[NSString stringWithUTF8String: dsk ]]; [disk setIsCDROM:YES];