VirtualBox

Changeset 86120 in vbox for trunk/src


Ignore:
Timestamp:
Sep 14, 2020 10:39:46 AM (4 years ago)
Author:
vboxsync
Message:

Debugger UI: A bug fix for r46518; Make sure we are not reseting width to non-initialized value (which is 0).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Debugger/VBoxDbgGui.cpp

    r82968 r86120  
    238238VBoxDbgGui::adjustRelativePos(int x, int y, unsigned cx, unsigned cy)
    239239{
    240     /* Disregard a width less than 640 since it will mess up the console. */
    241     if (cx < 640)
     240    /* Disregard a width less than 640 since it will mess up the console,
     241     * but only if previos width was already initialized.. */
     242    if ((cx < 640) && (m_cx > 0))
    242243        cx = m_cx;
    243244
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