XQuartz: Sanity-check the removal of the 256-color option

Fixes the 'one-time-preferences' bug in 2.2.0_rc1
This commit is contained in:
Jeremy Huddleston 2008-03-25 23:01:02 -07:00
parent c61b1c5f28
commit 38cbd13490

View File

@ -649,7 +649,8 @@ objectValueForTableColumn:(NSTableColumn *)tableColumn row:(int)row
[depth selectItemAtIndex:[depth indexOfItemWithTag:[NSApp prefs_get_integer:@PREFS_DEPTH default:-1]]];
// TODO: Add 256 color support
[depth removeItemAtIndex:[depth indexOfItemWithTag:8]];
if([depth indexOfItemWithTag:8] != -1)
[depth removeItemAtIndex:[depth indexOfItemWithTag:8]];
[enable_fullscreen setIntValue:!quartzEnableRootless];
// TODO: Add fullscreen support