mirror of
https://github.com/DreamSourceLab/DSView.git
synced 2025-02-02 13:52:55 +08:00
When initializing the window, do not use top values less than 0
This commit is contained in:
parent
a0c975ce3a
commit
df5e5b26c5
@ -709,6 +709,10 @@ void MainFrame::ShowFormInit()
|
||||
{
|
||||
ReadSettings();
|
||||
|
||||
if (_initWndInfo.r.y < 0){
|
||||
_initWndInfo.r.y = 0;
|
||||
}
|
||||
|
||||
int x = _initWndInfo.r.x;
|
||||
int y = _initWndInfo.r.y;
|
||||
int w = _initWndInfo.r.w;
|
||||
|
Loading…
x
Reference in New Issue
Block a user