Ignore:
Timestamp:
May 21, 2008, 11:02:07 PM (16 years ago)
Author:
dai_9181
Message:

Projectクラスをリファクタリング

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ab5.0/abdev/ab_common/src/ResourceManager/ResourceManager.cpp

    r622 r623  
    1818
    1919
    20 
    21     extern char BasicCurDir[MAX_PATH];
    2220    int i2,i3;
    2321    char temp2[MAX_PATH];
     
    4038    // 改行コードのCRLFをLFに変換
    4139    Jenga::Common::StringReplace( buffer, "\r\n", "\n" );
     40
     41    std::string baseDir = Jenga::Common::Path::ExtractDirPath( resourceFilePath );
    4242
    4343    i2=0;
     
    7171            temp2[i3]=buffer[i2];
    7272        }
    73         lstrcpy( temp2, Jenga::Common::Directory( BasicCurDir ).GetFullPath( temp2 ).c_str() );
     73        lstrcpy( temp2, Jenga::Common::Directory( baseDir ).GetFullPath( temp2 ).c_str() );
    7474
    7575        ResourceItem item;
Note: See TracChangeset for help on using the changeset viewer.