-/* xscreensaver, Copyright (c) 2006-2012 Jamie Zawinski <jwz@jwz.org>
+/* xscreensaver, Copyright (c) 2006-2013 Jamie Zawinski <jwz@jwz.org>
*
* Permission to use, copy, modify, distribute, and sell this software and its
* documentation for any purpose is hereby granted without fee, provided that
// make sure there's no resource mentioned in options and not defaults.
if (![defsdict objectForKey:nsresource]) {
if (! (!strcmp(resource, "font") || // don't warn about these
+ !strcmp(resource, "foreground") ||
!strcmp(resource, "textLiteral") ||
!strcmp(resource, "textFile") ||
!strcmp(resource, "textURL") ||
else if (n == 1) return YES;
else goto FAIL;
} else if ([o isKindOfClass:[NSString class]]) {
- NSString *s = (NSString *) o;
+ NSString *s = [((NSString *) o) lowercaseString];
if ([s isEqualToString:@"true"] ||
[s isEqualToString:@"yes"] ||
[s isEqualToString:@"1"])