[Fuse-for-macosx-commits] SF.net SVN: fuse-for-macosx: [237] trunk/fuse/fusepb/controllers/ FuseCon
Brought to you by:
fredm
|
From: <fr...@us...> - 2006-11-19 12:09:10
|
Revision: 237
http://svn.sourceforge.net/fuse-for-macosx/?rev=237&view=rev
Author: fredm
Date: 2006-11-19 04:09:08 -0800 (Sun, 19 Nov 2006)
Log Message:
-----------
Make default action on confirmations the action.
Modified Paths:
--------------
trunk/fuse/fusepb/controllers/FuseController.m
Modified: trunk/fuse/fusepb/controllers/FuseController.m
===================================================================
--- trunk/fuse/fusepb/controllers/FuseController.m 2006-11-14 01:31:57 UTC (rev 236)
+++ trunk/fuse/fusepb/controllers/FuseController.m 2006-11-19 12:09:08 UTC (rev 237)
@@ -1760,9 +1760,9 @@
fuse_emulation_pause();
NSString *m = [NSString stringWithUTF8String:message];
- result = NSRunAlertPanel(@"Confirm", m, @"Cancel", @"OK", nil);
+ result = NSRunAlertPanel(@"Confirm", m, @"OK", @"Cancel", nil);
- if( result != NSAlertDefaultReturn ) confirm = 1;
+ if( result == NSAlertDefaultReturn ) confirm = 1;
fuse_emulation_unpause();
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|