fixed a couple of problems with UpdateFPSDisplay (DX9) (though it's a trivial fix somebody else was probably about to make)

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6901 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
nitsuja- 2011-01-24 04:42:34 +00:00
parent e53c8188c0
commit a4e338b379
1 changed files with 1 additions and 1 deletions

View File

@ -147,7 +147,7 @@ unsigned int Callback_PeekMessages()
void UpdateFPSDisplay(const char *text)
{
TCHAR temp[512];
swprintf_s(temp, sizeof temp, _T("%s | DX9 | %s"), svn_rev_str, text);
swprintf_s(temp, sizeof(temp)/sizeof(TCHAR), _T("%hs | DX9 | %hs"), svn_rev_str, text);
SetWindowText(EmuWindow::GetWnd(), temp);
}