fix junk in window title, broken in r7826 by yours truly

This commit is contained in:
zeromus 2014-09-19 00:15:27 +00:00
parent b3fffa99d3
commit d049821426
1 changed files with 12 additions and 12 deletions

View File

@ -1260,20 +1260,20 @@ namespace BizHawk.Client.EmuHawk
else
{
str = str + Global.SystemInfo.DisplayName;
}
if (VersionInfo.DeveloperBuild)
{
str += " (interim)";
}
if (VersionInfo.DeveloperBuild)
{
str += " (interim)";
}
if (Global.MovieSession.Movie.IsActive)
{
str = str + " - " + Global.Game.Name + " - " + Path.GetFileName(Global.MovieSession.Movie.Filename);
}
else
{
str = str + " - " + Global.Game.Name;
if (Global.MovieSession.Movie.IsActive)
{
str = str + " - " + Global.Game.Name + " - " + Path.GetFileName(Global.MovieSession.Movie.Filename);
}
else
{
str = str + " - " + Global.Game.Name;
}
}
Text = str;