changed osx test for arc compatibility

This commit is contained in:
Palana
2013-12-16 01:45:31 +01:00
parent dd1c5b4342
commit a692027648
+1 -1
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";