mirror of
https://github.com/greenshot/greenshot
synced 2025-07-16 10:03:44 -07:00
Fixed unneeded log entry [skip ci]
This commit is contained in:
parent
19415080f9
commit
3cf3540edd
1 changed files with 1 additions and 1 deletions
|
@ -833,7 +833,7 @@ namespace GreenshotPlugin.Core {
|
|||
public Rectangle ClientRectangle {
|
||||
get {
|
||||
Rectangle clientRect;
|
||||
if (GetClientRect(out clientRect))
|
||||
if (!GetClientRect(out clientRect))
|
||||
{
|
||||
Win32Error error = Win32.GetLastErrorCode();
|
||||
Log.WarnFormat("Couldn't retrieve the client rectangle for {0}, error: {1}", Text, Win32.GetMessage(error));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue