diff options
| author | nitsuja- <nitsuja-@hotmail.com> | 2011-01-24 04:42:34 +0000 |
|---|---|---|
| committer | nitsuja- <nitsuja-@hotmail.com> | 2011-01-24 04:42:34 +0000 |
| commit | a4e338b37999398dc2e07919bec9393be252de2d (patch) | |
| tree | 0151986b63462c43146a2f7ac21153e56b3bb21b /Source | |
| parent | e53c8188c0dfd5b565d2d9696708a3a86660b06a (diff) | |
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
Diffstat (limited to 'Source')
| -rw-r--r-- | Source/Plugins/Plugin_VideoDX9/Src/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Plugins/Plugin_VideoDX9/Src/main.cpp b/Source/Plugins/Plugin_VideoDX9/Src/main.cpp index a2b8bef37f..2cb376fe57 100644 --- a/Source/Plugins/Plugin_VideoDX9/Src/main.cpp +++ b/Source/Plugins/Plugin_VideoDX9/Src/main.cpp @@ -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); } |
