X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=CheatURLCommand.m;h=9d00f257757c2ea40e9b02368bf619462a4c308d;hb=refs%2Fheads%2Fyishen;hp=af3152ca267498a10fa13b09b140f29ce1e36ceb;hpb=556707a7a26ac2dc4d10eff8e4b2abcc893cfce3;p=chaz%2Fthecheat diff --git a/CheatURLCommand.m b/CheatURLCommand.m index af3152c..9d00f25 100644 --- a/CheatURLCommand.m +++ b/CheatURLCommand.m @@ -1,9 +1,9 @@ /* * The Cheat - The legendary universal game trainer for Mac OS X. - * http://www.dogcows.com/chaz/wiki/TheCheat + * http://www.brokenzipper.com/trac/wiki/TheCheat * - * Copyright (c) 2003-2010, Charles McGarvey et al. + * Copyright (c) 2003-2011, Charles McGarvey et al. * * Distributable under the terms and conditions of the 2-clause BSD * license; see the file COPYING for the legal text of the license. @@ -18,7 +18,7 @@ - (id)performDefaultImplementation { NSDocumentController *controller = [NSDocumentController sharedDocumentController]; - CheatDocument *doc = [controller makeUntitledDocumentOfType:@"Cheat Document"]; + CheatDocument *doc = [controller makeUntitledDocumentOfType:@"Cheat Document" error:nil]; if ( !doc ) { ChazLog( @"nil document" ); }