Changeset 55804 in vbox for trunk/src/VBox/Additions/common/VBoxControl/VBoxControl.cpp
- Timestamp:
- May 11, 2015 2:59:17 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/VBoxControl/VBoxControl.cpp
r54611 r55804 988 988 /* check if the mode is OK */ 989 989 if ( (xres > (1 << 16)) 990 &&(yres > (1 << 16))991 &&( (bpp != 16)992 ||(bpp != 24)993 ||(bpp != 32)))990 || (yres > (1 << 16)) 991 || ( (bpp != 16) 992 && (bpp != 24) 993 && (bpp != 32))) 994 994 break; 995 995 … … 1099 1099 /** @todo better check including xres mod 8 = 0! */ 1100 1100 if ( (xres > (1 << 16)) 1101 &&(yres > (1 << 16))1102 &&( (bpp != 16)1103 ||(bpp != 24)1104 ||(bpp != 32)))1101 || (yres > (1 << 16)) 1102 || ( (bpp != 16) 1103 && (bpp != 24) 1104 && (bpp != 32))) 1105 1105 { 1106 1106 VBoxControlError("invalid mode specified!\n");
Note:
See TracChangeset
for help on using the changeset viewer.