X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?p=xscreensaver;a=blobdiff_plain;f=OSX%2FSaverRunner.m;h=b3ae2818de0160a9540e0e327a19ee6b139fdaf8;hp=53eeccb8e39640d6285446bca7548b20935e6910;hb=88cfe534a698a0562e81345957a50714af1453bc;hpb=d1ae2829ff0fd2a96c16a0c8c5420efaa47d7b30 diff --git a/OSX/SaverRunner.m b/OSX/SaverRunner.m index 53eeccb8..b3ae2818 100644 --- a/OSX/SaverRunner.m +++ b/OSX/SaverRunner.m @@ -1,4 +1,4 @@ -/* xscreensaver, Copyright (c) 2006-2014 Jamie Zawinski +/* xscreensaver, Copyright (c) 2006-2015 Jamie Zawinski * * Permission to use, copy, modify, distribute, and sell this software and its * documentation for any purpose is hereby granted without fee, provided that @@ -942,6 +942,12 @@ relabel_menus (NSObject *v, NSString *old_str, NSString *new_str) NSString *name = [[p lastPathComponent] stringByDeletingPathExtension]; # ifdef USE_IPHONE + +# ifdef __OPTIMIZE__ + // Do not show TestX11 in release builds. + if (! [name caseInsensitiveCompare:@"testx11"]) + continue; +# endif // Get the saver name's capitalization right by reading the XML file. p = [dir stringByAppendingPathComponent: p];