mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@135931 d073be05-634f-4543-b044-5fe20cf6d1d6
21 lines
623 B
Diff
21 lines
623 B
Diff
--- src/ui/FFMainController.m.orig 2007-08-26 14:40:42.000000000 -0500
|
|
+++ src/ui/FFMainController.m 2015-05-06 23:05:10.000000000 -0500
|
|
@@ -364,7 +364,7 @@
|
|
}
|
|
|
|
- (BOOL)validateMenuItem:(id<NSMenuItem>)mitem {
|
|
- switch ([mitem tag]) {
|
|
+ switch ((int)[mitem tag]) {
|
|
// Only if images
|
|
case MENU_FILE_CLEAR_IMGLIST :
|
|
case MENU_FILE_REMOVE :
|
|
@@ -813,7 +813,7 @@
|
|
[encItem setTarget:self];
|
|
[encItem setTag:*encIDs];
|
|
|
|
- if (*encIDs < NSProprietaryStringEncoding)
|
|
+ if (*encIDs < 65536 /*NSProprietaryStringEncoding*/)
|
|
[commonItems addObject:encItem];
|
|
else
|
|
[propItems addObject:encItem];
|