Fix warning in ODBEditor (10.6)

This commit is contained in:
Bjorn Winckler
2009-09-01 22:13:16 +02:00
parent d04263aee2
commit 6a87e8cc02
@@ -220,7 +220,11 @@ struct PBX_SelectionRange
}
else
{
#if (MAC_OS_X_VERSION_MAX_ALLOWED > MAC_OS_X_VERSION_10_4)
[[NSFileManager defaultManager] removeItemAtPath:fileName error:NULL];
#else
[[NSFileManager defaultManager] removeFileAtPath:fileName handler:nil];
#endif
[[NSApplication sharedApplication] activateIgnoringOtherApps:YES];
}