Changeset 620 in dev for trunk/ab5.0/abdev/abdev/src/ProjectManager
- Timestamp:
- May 19, 2008, 6:17:02 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ab5.0/abdev/abdev/src/ProjectManager/ProjectManager.cpp
r619 r620 18 18 19 19 //プロジェクトの作業ディレクトリを取得 20 _splitpath(path,this->dir,temporary,0,0); 21 lstrcat(this->dir,temporary); 20 _splitpath(path,temporary,temp2,0,0); 21 lstrcat( temporary, temp2 ); 22 this->workDir = Jenga::Common::Directory( temporary ); 22 23 23 24 //ファイルを開く、保存の初期ディレクトリをセット 24 lstrcpy(pobj_nv->DefSaveDir,this-> dir);25 lstrcpy(pobj_nv->DefSaveDir,this->GetWorkDir().GetPath().c_str()); 25 26 26 27 … … 253 254 ///////////////////////////////////////////// 254 255 //ウィンドウ定義ファイル(*.wnd)をオープン 255 sprintf(temp2,"%s%s.wnd",this-> dir,this->GetName().c_str());256 sprintf(temp2,"%s%s.wnd",this->GetWorkDir().GetPath().c_str(),this->GetName().c_str()); 256 257 if(!OpenWindowFile(temp2)) return; 257 258 } … … 263 264 } 264 265 265 OpenWorkfile( this-> dir+ this->GetName() + ".wrk" );266 OpenWorkfile( this->GetWorkDir().GetPath() + this->GetName() + ".wrk" ); 266 267 267 268 this->modify=0; … … 324 325 for(i=0;this->res.NumberOfIconRes;i++){ 325 326 lstrcpy(temporary,this->res.pIconResInfo[i].path); 326 GetFullPath(temporary,this->dir);327 lstrcpy( temporary, this->GetWorkDir().GetFullPath( temporary ).c_str() ); 327 328 if(lstrcmpi(MdiInfo[WndNum].path,temporary)==0){ 328 329 SendMessage(hCloseChild,WM_CLOSE,0,0);
Note:
See TracChangeset
for help on using the changeset viewer.