-fbdepth fix

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@365 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
szabii 2001-04-11 21:48:30 +00:00
parent a386709ec3
commit 3e5a8ec5f4
1 changed files with 2 additions and 2 deletions

View File

@ -454,8 +454,8 @@ static int fb_init(void)
} else if (fb_mode_depth) {
printf("fb_init: Do _not_ use the 'fbdepth' parameter! "
"this parameter will be removed\n");
if (fb_mode_depth != 15 || fb_mode_depth != 16 ||
fb_mode_depth != 24 || fb_mode_depth != 32) {
if (fb_mode_depth != 15 && fb_mode_depth != 16 &&
fb_mode_depth != 24 && fb_mode_depth != 32) {
printf("fb_init: can't switch to %d bpp\n", fb_mode_depth);
return 1;
}