Changeset 7368 in vbox for trunk/src/VBox
- Timestamp:
- Mar 7, 2008 2:31:51 PM (17 years ago)
- svn:sync-xref-src-repo-rev:
- 28792
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/VBoxConsoleView.cpp
r7335 r7368 3599 3599 if (!ok || w > screen.width() || h > screen.height()) 3600 3600 { 3601 enum { NUM_RES = 4 }; 3602 const int sizeList[NUM_RES][2] = 3601 static const int sizeList[][2] = 3603 3602 { 3604 3603 { 640, 480 }, … … 3611 3610 /* Find a size that is smaller than three quarters of the reported 3612 3611 screen geometry. */ 3613 while ( (i + 1 < NUM_RES)3614 && (sizeList[i + 1][0] < screen.width() * 3 / 4)3615 && (sizeList[i + 1][1] < screen.height() * 3 / 4))3612 while ( i + 1 < RT_ELEMENTS (sizeList) 3613 && sizeList[i + 1][0] < screen.width() * 3 / 4 3614 && sizeList[i + 1][1] < screen.height() * 3 / 4) 3616 3615 ++i; 3617 3616 w = sizeList[i][0];
Note:
See TracChangeset
for help on using the changeset viewer.