diff options
-rw-r--r-- | protocols/Gadu-Gadu/src/image.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/Gadu-Gadu/src/image.cpp b/protocols/Gadu-Gadu/src/image.cpp index 42a612e758..e0dccada81 100644 --- a/protocols/Gadu-Gadu/src/image.cpp +++ b/protocols/Gadu-Gadu/src/image.cpp @@ -318,7 +318,7 @@ BOOL gg_img_fit(HWND hwndDlg) if ((imgRect.right - imgRect.left) < nWidth)
rWidth = nWidth - imgRect.right + imgRect.left;
- if ((imgRect.bottom - imgRect.top) < nWidth)
+ if ((imgRect.bottom - imgRect.top) < nHeight)
rHeight = nHeight - imgRect.bottom + imgRect.top;
// Check if anything needs resize
|