]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
Fix style
authorVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Wed, 2 Dec 2009 10:48:10 +0000 (11:48 +0100)
committerVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Wed, 2 Dec 2009 10:48:10 +0000 (11:48 +0100)
video/sm712.c

index 93156c9ae043e523963115e9d41aae5f450eb035..52e43e9aeb6587221b1b2412678d5e47947f0535 100644 (file)
@@ -92,8 +92,8 @@ grub_video_sm712_setup (unsigned int width, unsigned int height,
   depth = (mode_type & GRUB_VIDEO_MODE_TYPE_DEPTH_MASK)
           >> GRUB_VIDEO_MODE_TYPE_DEPTH_POS;
 
-  if ((1024 != width && width != 0) || (600 != height && height != 0)
-      || (16 != depth && depth != 0))
+  if ((width != 1024 && width != 0) || (height != 600 && height != 0)
+      || (depth != 16 && depth != 0))
     return grub_error (GRUB_ERR_NOT_IMPLEMENTED_YET,
                       "Only 1024x600x16 is supported");