mirror of
https://github.com/kanjitalk755/macemu.git
synced 2025-04-03 11:29:33 +00:00
One more style change
This commit is contained in:
parent
b29e53229d
commit
71932affc8
@ -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];
|
||||
|
Loading…
x
Reference in New Issue
Block a user