マスタエディタ:デスクトップに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

@ -3832,7 +3832,14 @@ private: System::Windows::Forms::DataGridViewTextBoxColumn^ colErrorCause;
}
else
{
filename = dlg->SelectedPath + filename;
if( !dlg->SelectedPath->EndsWith("\\") )
{
filename = dlg->SelectedPath + "\\" + filename;
}
else
{
filename = dlg->SelectedPath + filename;
}
}
}
this->saveSrl( filename );
@ -4026,7 +4033,14 @@ private: System::Windows::Forms::DataGridViewTextBoxColumn^ colErrorCause;
}
else
{
srlfile = dlg->SelectedPath + srlfile;
if( !dlg->SelectedPath->EndsWith("\\") )
{
srlfile = dlg->SelectedPath + "\\" + srlfile;
}
else
{
srlfile = dlg->SelectedPath + srlfile;
}
}
}