VirtualBox

Changeset 5024 in vbox


Ignore:
Timestamp:
Sep 25, 2007 3:04:39 PM (17 years ago)
Author:
vboxsync
Message:

Pointer shape size calculation error. Copied too much.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/ConsoleImpl.cpp

    r4945 r5024  
    35593559    {
    35603560        size_t cb = (width + 7) / 8 * height; /* size of the AND mask */
    3561         cb += ((cb + 3) & ~3) + width * 4 * height; /* + gap + size of the XOR mask */
     3561        cb = ((cb + 3) & ~3) + width * 4 * height; /* + gap + size of the XOR mask */
    35623562        /* try to reuse the old shape buffer if the size is the same */
    35633563        if (!wasValid)
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette