Fix misleading function name
authorMark Cannon <vyhdycokio@gmail.com>
Fri, 23 Jul 2010 00:18:55 +0000 (00:18 +0000)
committerMark Cannon <vyhdycokio@gmail.com>
Fri, 23 Jul 2010 00:18:55 +0000 (00:18 +0000)
git-svn-id: https://openitg.svn.sourceforge.net/svnroot/openitg/branches/dev@768 83fadc84-e282-4d84-a09a-c4228d6ae7e5

src/UserPackManager.cpp
src/UserPackManager.h

index 56f027d..26c8f08 100644 (file)
@@ -26,7 +26,7 @@ void UserPackManager::MountAll()
                const CString sPackPath = USER_PACK_SAVE_PATH + asPacks[i];
                LOG->Info( "Loading user pack: %s", sPackPath.c_str() );
 
-               if ( !IsPackAddable( sPackPath, sError ) ) // if it can't load it, forget it
+               if ( !IsPackMountable( sPackPath, sError ) ) // if it can't load it, forget it
                {
                        LOG->Warn( "Error adding user pack %s: %s", sPackPath.c_str(), sError.c_str() );
                        continue;
@@ -62,7 +62,7 @@ bool UserPackManager::Remove( const CString &sPack )
 static const int NUM_BLACKLISTED_FOLDERS = 4;
 static const char *BLACKLISTED_FOLDERS[] = { "Data", "Program", "Themes/default", "Themes/home" };
 
-bool UserPackManager::IsPackAddable( const CString &sPack, CString &sError )
+bool UserPackManager::IsPackMountable( const CString &sPack, CString &sError )
 {
        RageFileDriverZip *pZip = new RageFileDriverZip;
 
index 088962e..75e7d09 100644 (file)
@@ -14,7 +14,7 @@ public:
        void GetUserPacks( CStringArray &sAddTo );
 
        void MountAll();
-       bool IsPackAddable( const CString &sPack, CString &sError );
+       bool IsPackMountable( const CString &sPack, CString &sError );
        bool Remove( const CString &sPack );
 
        bool IsPackTransferable( const CString sPack, CString &sError );