changed osx test for arc compatibility
This commit is contained in:
@@ -131,7 +131,7 @@ static NSWindow *CreateTestWindow()
|
||||
static void test()
|
||||
{
|
||||
try {
|
||||
NSWindow *win = CreateTestWindow();
|
||||
static NSWindow *win = CreateTestWindow();
|
||||
if (!win)
|
||||
throw "Couldn't create main window";
|
||||
|
||||
|
Reference in New Issue
Block a user