309 |
|
if ( newbpp == init_depth && newx == init_width && |
310 |
|
newy == init_height && newtype == display_type ) |
311 |
|
{ |
312 |
< |
NSLog(@"No changed GUI items in ChangeScreen"); |
312 |
> |
D(NSLog(@"No changed GUI items in ChangeScreen")); |
313 |
|
return; |
314 |
|
} |
315 |
|
|
316 |
|
// If we are changing type, supply some sensible defaults |
317 |
|
if ( newtype != display_type ) |
318 |
|
{ |
319 |
< |
NSLog(@"Changing disylay type in ChangeScreen"); |
319 |
> |
D(NSLog(@"Changing display type in ChangeScreen")); |
320 |
|
if ( newtype == DISPLAY_SCREEN ) // If changing to full screen |
321 |
|
{ |
322 |
|
// supply main screen dimensions as a default |
371 |
|
|
372 |
|
if ( display_type != DISPLAY_SCREEN ) |
373 |
|
{ |
374 |
< |
NSLog(@"Display type is not SCREEN (%d), resizing window", display_type); |
374 |
> |
D(NSLog(@"Display type is not SCREEN (%d), resizing window", |
375 |
> |
display_type)); |
376 |
|
resizeWinTo(newx, newy); |
377 |
|
} |
378 |
|
} |
534 |
|
if ( strcmp(str, path) == 0 ) |
535 |
|
{ |
536 |
|
PrefsRemoveItem("disk", tmp); |
537 |
< |
D(NSLog(@"%s - Deleted prefs entry \"disk\", %d", __PRETTY_FUNCTION__, tmp)); |
537 |
> |
D(NSLog(@"%s - Deleted prefs entry \"disk\", %d", |
538 |
> |
__PRETTY_FUNCTION__, tmp)); |
539 |
|
edited = YES; |
540 |
|
break; |
541 |
|
} |
544 |
|
|
545 |
|
if ( str == NULL ) |
546 |
|
{ |
547 |
< |
NSLog(@"%s - Couldn't find any disk preference to match %s", __PRETTY_FUNCTION__, path); |
547 |
> |
NSLog(@"%s - Couldn't find any disk preference to match %s", |
548 |
> |
__PRETTY_FUNCTION__, path); |
549 |
|
return NULL; |
550 |
|
} |
551 |
|
|