mirror of
https://github.com/kanjitalk755/macemu.git
synced 2024-11-19 09:30:56 +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;
|
const char *dsk;
|
||||||
int index = 0;
|
int index = 0;
|
||||||
while ((dsk = PrefsFindString("disk", index++)) != NULL)
|
while ((dsk = PrefsFindString("disk", index++)) != NULL) {
|
||||||
{
|
|
||||||
DiskType *disk = [[DiskType alloc] init];
|
DiskType *disk = [[DiskType alloc] init];
|
||||||
[disk setPath:[NSString stringWithUTF8String: dsk ]];
|
[disk setPath:[NSString stringWithUTF8String: dsk ]];
|
||||||
[disk setIsCDROM:NO];
|
[disk setIsCDROM:NO];
|
||||||
@ -112,7 +111,7 @@ static NSString *getStringFromPrefs(const char *key)
|
|||||||
|
|
||||||
/* Fetch all CDROMs */
|
/* Fetch all CDROMs */
|
||||||
index = 0;
|
index = 0;
|
||||||
while ((dsk=PrefsFindString("cdrom", index++))!=NULL) {
|
while ((dsk = PrefsFindString("cdrom", index++)) != NULL) {
|
||||||
DiskType *disk = [[DiskType alloc] init];
|
DiskType *disk = [[DiskType alloc] init];
|
||||||
[disk setPath:[NSString stringWithUTF8String: dsk ]];
|
[disk setPath:[NSString stringWithUTF8String: dsk ]];
|
||||||
[disk setIsCDROM:YES];
|
[disk setIsCDROM:YES];
|
||||||
|
Loading…
Reference in New Issue
Block a user