fixing the hd bug, this code is working both on windows 2k and xp, but it still contain some regress some other place

svn path=/trunk/tools/Qemu GUI/; revision=105
This commit is contained in:
Magnus Olsen 2006-06-21 17:25:53 +00:00
parent b0ca84dcc8
commit 0d95e3c787
3 changed files with 2 additions and 2 deletions

View File

@ -178,9 +178,9 @@ namespace Qemu_GUI
for (int i = 0; i < 4; i++)
{
if (this.HDD[i].Enabled && (this.HDD[i].Path.Length > 0))
buffer += String.Format(@"-hd{0} ""{1}""", (char) ('a' + i), this.HDD[i].Path);
buffer += "-hd" + Convert.ToChar('a' + i) + " \"" + this.HDD[i].Path + "\" ";
}
Console.WriteLine(buffer);
return buffer;
}

Binary file not shown.

Binary file not shown.