window: Make comparison be the right direction

Messed something up there...
This commit is contained in:
Benjamin Otte 2011-04-27 00:49:00 +02:00
parent 187f91eb90
commit 1763b3a0b5

View File

@ -4869,7 +4869,7 @@ gtk_window_guess_default_size (GtkWindow *window,
*width = gdk_screen_get_width (screen);
*height = gdk_screen_get_height (screen);
if (*width < *height)
if (*width >= *height)
{
/* landscape */
*width = MIN (*width, MAX_DEFAULT_WINDOW_WIDTH);