add 720x576 (PAL) to the list of valid resolutions. Closes bug #325548.
2007-03-23 Jens Granseuer <jensgr@gmx.net> * main.c: (show_resolution): add 720x576 (PAL) to the list of valid resolutions. Closes bug #325548. svn path=/trunk/; revision=7419
This commit is contained in:
parent
8487561670
commit
a3cac171e0
2 changed files with 8 additions and 7 deletions
|
@ -1,3 +1,8 @@
|
|||
2007-03-23 Jens Granseuer <jensgr@gmx.net>
|
||||
|
||||
* main.c: (show_resolution): add 720x576 (PAL) to the list of valid
|
||||
resolutions. Closes bug #325548.
|
||||
|
||||
2007-03-21 Jens Granseuer <jensgr@gmx.net>
|
||||
|
||||
* main.c: uppercase the rotation options. Closes bug #410959.
|
||||
|
|
|
@ -351,13 +351,9 @@ wrap_in_label (GtkWidget *child, char *text)
|
|||
static gboolean
|
||||
show_resolution (int width, int height)
|
||||
{
|
||||
if (width >= 800 && height >= 600)
|
||||
return TRUE;
|
||||
|
||||
if (width == 640 && height == 480)
|
||||
return TRUE;
|
||||
|
||||
return FALSE;
|
||||
return (width >= 800 && height >= 600) ||
|
||||
(width == 640 && height == 480) ||
|
||||
(width == 720 && height == 576);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
Loading…
Add table
Reference in a new issue