changed osx test for arc compatibility

This commit is contained in:
Palana 2013-12-15 02:43:37 +01:00
parent dd1c5b4342
commit a692027648

View File

@ -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";