OSDN Git Service

微修正。
authorsirakaba <sirakaba@9df91469-1e22-0410-86e7-ea8537beb833>
Sat, 14 Nov 2009 03:39:00 +0000 (03:39 +0000)
committersirakaba <sirakaba@9df91469-1e22-0410-86e7-ea8537beb833>
Sat, 14 Nov 2009 03:39:00 +0000 (03:39 +0000)
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/tpi/tpi@105 9df91469-1e22-0410-86e7-ea8537beb833

src/common/library/library.cpp
src/plugin/cuiWrapper/cuiWrapper.cpp
src/plugin/spiLibrary/spiLibrary.cpp

index 857f012..b2b105d 100644 (file)
@@ -145,7 +145,7 @@ wxString MakeResponceFile(wxArrayString asFiles, bool bQuote)
        }\r
 \r
        // \83t\83@\83C\83\8b\83\8a\83X\83g\8f\91\82«\8d\9e\82Ý\8f\88\97\9d\81B\r
        }\r
 \r
        // \83t\83@\83C\83\8b\83\8a\83X\83g\8f\91\82«\8d\9e\82Ý\8f\88\97\9d\81B\r
-       if (asFiles.GetCount() == 0)\r
+       if (asFiles.IsEmpty())\r
        {\r
                fListFile.Write(wxT("*"));\r
        }\r
        {\r
                fListFile.Write(wxT("*"));\r
        }\r
index 0179bdf..1ce8b81 100644 (file)
@@ -366,7 +366,7 @@ int __stdcall OpenArchive
        {\r
                * _hArchive = & g_asOutput;\r
        }\r
        {\r
                * _hArchive = & g_asOutput;\r
        }\r
-       return g_asOutput.GetCount() == 0 ? TPI_ERROR_UNDEFINED : TPI_ERROR_SUCCESS;\r
+       return g_asOutput.IsEmpty() ? TPI_ERROR_UNDEFINED : TPI_ERROR_SUCCESS;\r
 }\r
 \r
 int __stdcall CloseArchive\r
 }\r
 \r
 int __stdcall CloseArchive\r
index 3a330b1..e003cab 100644 (file)
@@ -403,7 +403,7 @@ int __stdcall Command
                        }\r
 \r
                        // \8f\88\97\9d\91Î\8fÛ\82©\82Ç\82¤\82©\94»\92è\81B\r
                        }\r
 \r
                        // \8f\88\97\9d\91Î\8fÛ\82©\82Ç\82¤\82©\94»\92è\81B\r
-                       if (_szFiles.GetCount() != 0 && _szFiles.Index(fiInfo.szStoredName) == wxNOT_FOUND)\r
+                       if ((! _szFiles.IsEmpty()) && _szFiles.Index(fiInfo.szStoredName) == wxNOT_FOUND)\r
                        {\r
                                continue;\r
                        }\r
                        {\r
                                continue;\r
                        }\r