mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-26 16:04:34 +00:00
Window position may be negative.
This commit is contained in:
parent
e254f049a5
commit
8717fe5730
@ -108,7 +108,7 @@ int main( int argc, char** argv )
|
|||||||
h = data[3];
|
h = data[3];
|
||||||
maximize = data[4];
|
maximize = data[4];
|
||||||
}
|
}
|
||||||
if( w <= 0 || h <= 0 || x+w < 0 || y+h < 0 )
|
if( w <= 0 || h <= 0 )
|
||||||
{
|
{
|
||||||
x = 200;
|
x = 200;
|
||||||
y = 200;
|
y = 200;
|
||||||
|
Loading…
Reference in New Issue
Block a user