Fix extraneous ]

This commit is contained in:
Brandon Wright 2019-02-19 14:27:44 -06:00
parent 504be0917b
commit be64fcf518
1 changed files with 1 additions and 1 deletions

View File

@ -687,7 +687,7 @@ void S9xRestoreWindowTitle ()
TCHAR buf [1024];
if (Memory.ROMFilename[0])
{
char def[_MAX_FNAME]];
char def[_MAX_FNAME];
_splitpath(Memory.ROMFilename, NULL, NULL def, NULL);
_stprintf(buf, TEXT("%s - %s %s"), (wchar_t *)Utf8ToWide(def), WINDOW_TITLE, TEXT(VERSION));
}