Changeset 24 in dev for ProjectEditor/Backup.cpp
- Timestamp:
- Dec 30, 2006, 10:18:01 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ProjectEditor/Backup.cpp
r22 r24 55 55 //ファイルを保存 56 56 sprintf(temporary,"%sdocument%02d.txt",szBackupDirPath,iNum); 57 WriteBuffer(temporary,MdiInfo[WndNum].p mti->buffer,lstrlen(MdiInfo[WndNum].pmti->buffer));57 WriteBuffer(temporary,MdiInfo[WndNum].pMdiTextEdit->buffer,lstrlen(MdiInfo[WndNum].pMdiTextEdit->buffer)); 58 58 59 59 //情報を追加 … … 142 142 COLORREF TabColor; 143 143 TabColor=pobj_nv->pobj_ExtLink->GetTabColorFromFilePath(MdiInfo[WndNum].path); 144 pobj_MainTab-> delete_item(szOldTitle,0);145 pobj_MainTab-> insert(MdiInfo[WndNum].title,0,TabColor);146 147 MdiInfo[WndNum].p mti->bModify=1;144 pobj_MainTab->DeleteItem( szOldTitle, false ); 145 pobj_MainTab->InsertItem( MdiInfo[WndNum].title, false, TabColor ); 146 147 MdiInfo[WndNum].pMdiTextEdit->Modify(); 148 148 149 149
Note:
See TracChangeset
for help on using the changeset viewer.