From bb0a58a389b2ac866452f5d1c6922b5f079083f5 Mon Sep 17 00:00:00 2001 From: Sven Strickroth Date: Sun, 13 Jan 2013 12:13:52 +0100 Subject: [PATCH] Small cleanups Signed-off-by: Sven Strickroth --- src/TortoiseProc/Commands/SubmoduleCommand.cpp | 2 +- src/TortoiseProc/SubmoduleAddDlg.cpp | 4 +++- src/TortoiseProc/SubmoduleAddDlg.h | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/TortoiseProc/Commands/SubmoduleCommand.cpp b/src/TortoiseProc/Commands/SubmoduleCommand.cpp index a1c310a51..0e3cb584d 100644 --- a/src/TortoiseProc/Commands/SubmoduleCommand.cpp +++ b/src/TortoiseProc/Commands/SubmoduleCommand.cpp @@ -1,6 +1,6 @@ // TortoiseGit - a Windows shell extension for easy version control -// Copyright (C) 2008-2009,2012 - TortoiseGit +// Copyright (C) 2008-2009,2012-2013 - TortoiseGit // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License diff --git a/src/TortoiseProc/SubmoduleAddDlg.cpp b/src/TortoiseProc/SubmoduleAddDlg.cpp index e85a9e8b4..a26ed2038 100644 --- a/src/TortoiseProc/SubmoduleAddDlg.cpp +++ b/src/TortoiseProc/SubmoduleAddDlg.cpp @@ -1,6 +1,6 @@ // TortoiseGit - a Windows shell extension for easy version control -// Copyright (C) 2008-2012 - TortoiseGit +// Copyright (C) 2008-2013 - TortoiseGit // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License @@ -35,6 +35,7 @@ CSubmoduleAddDlg::CSubmoduleAddDlg(CWnd* pParent /*=NULL*/) : CHorizontalResizableStandAloneDialog(CSubmoduleAddDlg::IDD, pParent) , m_bBranch(FALSE) , m_strBranch(_T("")) + , m_bForce(FALSE) { } @@ -82,6 +83,7 @@ BOOL CSubmoduleAddDlg::OnInitDialog() AddOthersToAnchor(); AdjustControlSize(IDC_BRANCH_CHECK); + AdjustControlSize(IDC_FORCE); EnableSaveRestore(_T("SubmoduleAddDlg")); diff --git a/src/TortoiseProc/SubmoduleAddDlg.h b/src/TortoiseProc/SubmoduleAddDlg.h index 8193346e6..6afc51d12 100644 --- a/src/TortoiseProc/SubmoduleAddDlg.h +++ b/src/TortoiseProc/SubmoduleAddDlg.h @@ -1,6 +1,6 @@ // TortoiseGit - a Windows shell extension for easy version control -// Copyright (C) 2008-2011 - TortoiseGit +// Copyright (C) 2008-2011,2013 - TortoiseGit // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License -- 2.11.4.GIT