OSDN Git Service

Correct format patch command -<num> argument
[tortoisegit/TortoiseGitJp.git] / src / TortoiseProc / Commands / FormatPatchCommand.cpp
index b3fa3ea..eea9c39 100644 (file)
@@ -59,7 +59,7 @@ bool FormatPatchCommand::Execute()
                        range=dlg.m_Since;\r
                        break;\r
                case IDC_RADIO_NUM:\r
-                       range.Format(_T("-n%d"),dlg.m_Num);\r
+                       range.Format(_T("-%d"),dlg.m_Num);\r
                        break;\r
                case IDC_RADIO_RANGE:\r
                        range.Format(_T("%s..%s"),dlg.m_From,dlg.m_To);\r