From b3250e8417c9e8815228935644f03b00883fb65a Mon Sep 17 00:00:00 2001 From: Sup Yut Sum Date: Wed, 26 Dec 2012 15:23:48 +0800 Subject: [PATCH] Trim extra whitespaces and newlines in TortoiseIDiff Signed-off-by: Sup Yut Sum --- src/TortoiseIDiff/PicWindow.cpp | 4 ++-- src/TortoiseIDiff/PicWindow.h | 4 ---- src/TortoiseIDiff/TortoiseIDiff.cpp | 7 ------- 3 files changed, 2 insertions(+), 13 deletions(-) diff --git a/src/TortoiseIDiff/PicWindow.cpp b/src/TortoiseIDiff/PicWindow.cpp index c7f009ad7..3f68da6d6 100644 --- a/src/TortoiseIDiff/PicWindow.cpp +++ b/src/TortoiseIDiff/PicWindow.cpp @@ -267,8 +267,8 @@ LRESULT CALLBACK CPicWindow::WinMsgHandler(HWND hwnd, UINT uMsg, WPARAM wParam, m_lastTTPos.y = 0; } if ((wParam & MK_LBUTTON) && - (ptPanStart.x >= 0) && - (ptPanStart.y >= 0)) + (ptPanStart.x >= 0) && + (ptPanStart.y >= 0)) { // pan the image int xPos = GET_X_LPARAM(lParam); diff --git a/src/TortoiseIDiff/PicWindow.h b/src/TortoiseIDiff/PicWindow.h index fdb325822..7945346c7 100644 --- a/src/TortoiseIDiff/PicWindow.h +++ b/src/TortoiseIDiff/PicWindow.h @@ -275,7 +275,3 @@ protected: bool bPlaying; RECT m_inforect; }; - - - - diff --git a/src/TortoiseIDiff/TortoiseIDiff.cpp b/src/TortoiseIDiff/TortoiseIDiff.cpp index 36aa9e83c..c76159db9 100644 --- a/src/TortoiseIDiff/TortoiseIDiff.cpp +++ b/src/TortoiseIDiff/TortoiseIDiff.cpp @@ -120,10 +120,3 @@ int APIENTRY _tWinMain(HINSTANCE hInstance, DestroyCursor(curHandDown); return 1; } - - - - - - - -- 2.11.4.GIT