|
From: <cre...@us...> - 2006-11-17 18:21:25
|
Revision: 1595
http://svn.sourceforge.net/frontierkernel/?rev=1595&view=rev
Author: creecode
Date: 2006-11-17 10:21:24 -0800 (Fri, 17 Nov 2006)
Log Message:
-----------
in shellhandlemenu function, in editmenu case, removed non carbon code, no functional change
Modified Paths:
--------------
Frontier/trunk/Common/source/shellmenu.c
Modified: Frontier/trunk/Common/source/shellmenu.c
===================================================================
--- Frontier/trunk/Common/source/shellmenu.c 2006-11-16 22:15:14 UTC (rev 1594)
+++ Frontier/trunk/Common/source/shellmenu.c 2006-11-17 18:21:24 UTC (rev 1595)
@@ -1711,33 +1711,27 @@
}
case editmenu:
- #if MACVERSION
+
+ #ifdef MACVERSION
- if (iditem <= clearitem) { /*standard edit menu command*/
- //Code change by Timothy Paustian Friday, June 16, 2000 3:02:01 PM
- //Changed to Opaque call for Carbon
- //we don't need this for carbon.
- #if !TARGET_API_MAC_CARBON
- if (SystemEdit (iditem - 1)) /*consumed by desk accessory*/
- break;
- #endif
-
- if (uisEdit (iditem - 1)) /*consumed by shared window*/
- break;
- }
-
- #endif
+ if ( iditem <= clearitem ) // standard edit menu command
+
+ if ( uisEdit ( iditem - 1 ) ) // consumed by shared window
+ break;
+
+ #endif // MACVERSION
- if (iditem <= selectallitem) {
+ if ( iditem <= selectallitem ) {
- shelleditcommand ((tyeditcommand) (iditem - undoitem));
+ shelleditcommand ( ( tyeditcommand ) ( iditem - undoitem ) );
break;
+
}
- runeditmenuscript (editmenu, iditem); /*7.0b27 PBS */
+ runeditmenuscript ( editmenu, iditem ); // 7.0b27 PBS
- break; /*edit menu*/
+ break; // edit menu
case fontmenu: {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|