summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGoraf <goraf@miranda-ng.org>2014-12-20 11:34:11 +0000
committerGoraf <goraf@miranda-ng.org>2014-12-20 11:34:11 +0000
commitc732744ba9a96510a9dca4175392813ffc9b8a63 (patch)
tree7cbac428b89da175b8bb09823e181fd28cf809de
parent1705273c443d069c82fac78ad34d909513af519b (diff)
misprint, nWidth -> nHeight
git-svn-id: http://svn.miranda-ng.org/main/trunk@11542 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r--protocols/Gadu-Gadu/src/image.cpp2
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