Changeset 3155 in vbox for trunk/src/VBox/Main/MouseImpl.cpp
- Timestamp:
- Jun 19, 2007 11:25:14 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/MouseImpl.cpp
r2981 r3155 274 274 ComAssertComRCRet (rc, rc); 275 275 276 uint32_t mouseXAbs = (x * 0xFFFF) / displayWidth;277 uint32_t mouseYAbs = (y * 0xFFFF) / displayHeight;276 uint32_t mouseXAbs = displayWidth? (x * 0xFFFF) / displayWidth: 0; 277 uint32_t mouseYAbs = displayHeight? (y * 0xFFFF) / displayHeight: 0; 278 278 279 279 /*
Note:
See TracChangeset
for help on using the changeset viewer.