changed osx test for arc compatibility
This commit is contained in:
parent
dd1c5b4342
commit
a692027648
@ -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";
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user