OSDN Git Service

Command()に書庫のハンドルを渡せるよう変更。TPI_INFO_HANDLE_ON_COMMANDを追加。
[tpi/lychee.git] / src / common / library / library.cpp
index b94d62e..9df1164 100644 (file)
@@ -64,7 +64,7 @@ wxString ProcessBool(bool b, const wxString & szCommandLine, size_t * nPos, cons
        return szCommandLineSend;\r
 }\r
 \r
-wxString MakeCommandLineSend(const wxString & szCommandLine, const wxString & szArcName, TPI_SWITCHES * swInfo, const wxArrayString & asFiles, const wxString & szResponceFileName)\r
+wxString MakeCommandLineSend(const wxString & szCommandLine, TPI_SWITCHES * swInfo, const wxArrayString & asFiles, const wxString & szResponceFileName)\r
 {\r
        // コマンドライン変数を差し替え。\r
        wxString szCommandLineSend;\r
@@ -89,7 +89,7 @@ wxString MakeCommandLineSend(const wxString & szCommandLine, const wxString & sz
                                // 4: 圧縮レベル\r
                                // 5: リカバリーレコード\r
                                // 6: コメント\r
-                               case wxT('0'): szCommandLineSend += szArcName; break;\r
+                               case wxT('0'): szCommandLineSend += swInfo->szArcName; break;\r
                                case wxT('1'): szCommandLineSend += swInfo->fnDestinationDirectory.GetPathWithSep(); break;\r
                                case wxT('2'): szCommandLineSend += szResponceFileName; break;\r
                                case wxT('3'):\r