Correct variable name
I must have guessed this one, and not left a comment saying it was fake... dammit.
This commit is contained in:
parent
8a9f70875c
commit
4c910dbee6
1 changed files with 3 additions and 3 deletions
|
@ -34,7 +34,7 @@ BOOL gbUseJoystick = FALSE;
|
||||||
int gJoystickButtonTable[8];
|
int gJoystickButtonTable[8];
|
||||||
|
|
||||||
static BOOL bActive = TRUE;
|
static BOOL bActive = TRUE;
|
||||||
static BOOL bFps = FALSE;
|
static BOOL bFPS = FALSE;
|
||||||
|
|
||||||
static HANDLE hObject;
|
static HANDLE hObject;
|
||||||
static HANDLE hMutex;
|
static HANDLE hMutex;
|
||||||
|
@ -63,7 +63,7 @@ void SetWindowName(HWND hWnd)
|
||||||
// Framerate stuff
|
// Framerate stuff
|
||||||
void PutFramePerSecound(void)
|
void PutFramePerSecound(void)
|
||||||
{
|
{
|
||||||
if (bFps)
|
if (bFPS)
|
||||||
{
|
{
|
||||||
const unsigned long fps = CountFramePerSecound();
|
const unsigned long fps = CountFramePerSecound();
|
||||||
PutNumber4(WINDOW_WIDTH - 40, 8, fps, FALSE);
|
PutNumber4(WINDOW_WIDTH - 40, 8, fps, FALSE);
|
||||||
|
@ -472,7 +472,7 @@ LRESULT CALLBACK WindowProcedure(HWND hWnd, UINT Msg, WPARAM wParam, LPARAM lPar
|
||||||
DrawMenuBar(hWnd);
|
DrawMenuBar(hWnd);
|
||||||
|
|
||||||
if (IsKeyFile("fps"))
|
if (IsKeyFile("fps"))
|
||||||
bFps = TRUE;
|
bFPS = TRUE;
|
||||||
|
|
||||||
if (!bFullscreen)
|
if (!bFullscreen)
|
||||||
LoadWindowRect(hWnd, "window.rect", FALSE);
|
LoadWindowRect(hWnd, "window.rect", FALSE);
|
||||||
|
|
Loading…
Add table
Reference in a new issue