changeset 364:071c81d79b71

-fbdepth fix
author szabii
date Wed, 11 Apr 2001 21:48:30 +0000
parents f02474901080
children 1e7dba55717f
files libvo/vo_fbdev.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/vo_fbdev.c	Wed Apr 11 21:36:56 2001 +0000
+++ b/libvo/vo_fbdev.c	Wed Apr 11 21:48:30 2001 +0000
@@ -454,8 +454,8 @@
 	} 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;
 		}