マスタエディタ:デスクトップにSRLを保存するときにファイル名がおかしくなるバグを修正。

git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlIPL/trunk@2532 b08762b0-b915-fc4b-9d8c-17b2551a87ff
This commit is contained in:
nishikawa_takeshi 2008-09-17 02:06:21 +00:00
parent 93d8e3bbc8
commit f038ef8803
4 changed files with 16 additions and 2 deletions

View File

@ -3831,10 +3831,17 @@ private: System::Windows::Forms::DataGridViewTextBoxColumn^ colErrorCause;
return; return;
} }
else else
{
if( !dlg->SelectedPath->EndsWith("\\") )
{
filename = dlg->SelectedPath + "\\" + filename;
}
else
{ {
filename = dlg->SelectedPath + filename; filename = dlg->SelectedPath + filename;
} }
} }
}
this->saveSrl( filename ); this->saveSrl( filename );
} //stripItemMasterRom_Click() } //stripItemMasterRom_Click()
@ -4025,10 +4032,17 @@ private: System::Windows::Forms::DataGridViewTextBoxColumn^ colErrorCause;
return; return;
} }
else else
{
if( !dlg->SelectedPath->EndsWith("\\") )
{
srlfile = dlg->SelectedPath + "\\" + srlfile;
}
else
{ {
srlfile = dlg->SelectedPath + srlfile; srlfile = dlg->SelectedPath + srlfile;
} }
} }
}
// 注意書き // 注意書き
{ {