Changeset 53408 in vbox for trunk/src/VBox/Additions/x11/vboxvideo/vboxutils.c
- Timestamp:
- Nov 28, 2014 11:57:37 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/x11/vboxvideo/vboxutils.c
r52235 r53408 253 253 for (i = 0; i < prop->size && i < pVBox->cScreens; ++i) 254 254 { 255 if ( !((int32_t *)prop->data)[i])255 if (((int32_t *)prop->data)[i] == 0) 256 256 continue; 257 pVBox->pScreens[i].aPreferredSize.cx = ((int32_t *)prop->data)[i] >> 16; 258 pVBox->pScreens[i].aPreferredSize.cy = ((int32_t *)prop->data)[i] & 0xffff; 257 else if (((int32_t *)prop->data)[i] < 0) 258 pVBox->pScreens[i].afDisabled = true; 259 else 260 { 261 pVBox->pScreens[i].aPreferredSize.cx = 262 ((int32_t *)prop->data)[i] >> 16; 263 pVBox->pScreens[i].aPreferredSize.cy = 264 ((int32_t *)prop->data)[i] & 0x8fff; 265 } 259 266 } 260 267 }
Note:
See TracChangeset
for help on using the changeset viewer.