Changeset 11574 in vbox
- Timestamp:
- Aug 22, 2008 12:49:31 PM (17 years ago)
- svn:sync-xref-src-repo-rev:
- 35178
- Location:
- trunk/src/VBox/Frontends
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/VBoxConsoleView.cpp
r11573 r11574 3208 3208 void VBoxConsoleView::saveKeyStates() 3209 3209 { 3210 ::memcpy (mPressedKeysCopy, mPressedKeys, 3211 SIZEOF_ARRAY (mPressedKeys)); 3210 ::memcpy (mPressedKeysCopy, mPressedKeys, sizeof (mPressedKeys)); 3212 3211 } 3213 3212 -
trunk/src/VBox/Frontends/VirtualBox4/src/VBoxConsoleView.cpp
r11549 r11574 706 706 #endif 707 707 708 ::memset (mPressedKeys, 0, SIZEOF_ARRAY(mPressedKeys));708 ::memset (mPressedKeys, 0, sizeof (mPressedKeys)); 709 709 710 710 /* setup rendering */ … … 3248 3248 void VBoxConsoleView::saveKeyStates() 3249 3249 { 3250 ::memcpy (mPressedKeysCopy, mPressedKeys, 3251 SIZEOF_ARRAY (mPressedKeys)); 3250 ::memcpy (mPressedKeysCopy, mPressedKeys, sizeof (mPressedKeys)); 3252 3251 } 3253 3252
Note:
See TracChangeset
for help on using the changeset viewer.