マスタエディタ:コマンドラインから絶対パスでSRLを読み込ませたときにパスがおかしくなるバグを修正。

git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlToolsRED@155 7061adef-622a-194b-ae81-725974e89856
This commit is contained in:
nishikawa_takeshi 2009-01-29 11:27:54 +00:00
parent 5d58cd11e2
commit 977104a1fc
4 changed files with 5 additions and 0 deletions

View File

@ -142,6 +142,11 @@ void Form1::handleArgs(void)
return;
}
System::String ^rompath;
if( System::IO::Path::IsPathRooted( romfile ) ) // 絶対パスのときはそのまま表示
{
rompath = romfile;
}
else
{
// 表示のために絶対パスに変換
System::String ^currdir = System::Environment::CurrentDirectory;