Browse Source

changed osx test for arc compatibility

Palana 12 years ago
parent
commit
a692027648
1 changed files with 1 additions and 1 deletions
  1. 1 1
      test/osx/test.mm

+ 1 - 1
test/osx/test.mm

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