From c732744ba9a96510a9dca4175392813ffc9b8a63 Mon Sep 17 00:00:00 2001 From: Goraf Date: Sat, 20 Dec 2014 11:34:11 +0000 Subject: misprint, nWidth -> nHeight git-svn-id: http://svn.miranda-ng.org/main/trunk@11542 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/Gadu-Gadu/src/image.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'protocols/Gadu-Gadu') 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 -- cgit v1.2.3