fix PrefsEditor build

This commit is contained in:
asvitkine 2009-08-01 15:31:31 +00:00
parent 5cef748ac7
commit 743888f407

View File

@ -25,6 +25,14 @@
const int CDROMRefNum = -62; // RefNum of driver
void prefs_init()
{
}
void prefs_exit()
{
}
@implementation PrefsEditor
- (id) init
@ -36,7 +44,7 @@ const int CDROMRefNum = -62; // RefNum of driver
AddPlatformPrefsDefaults();
// Load preferences from settings file
LoadPrefs();
LoadPrefs(NULL);
chdir([[[NSBundle mainBundle] bundlePath] UTF8String]);
chdir("..");
#endif