add width x height to title bar correctly (debug w32 only)

This commit is contained in:
ehouse 2008-09-29 05:07:35 +00:00
parent 8cecbd45c4
commit e0d73f4cd4

View file

@ -771,13 +771,12 @@ ceSetTitleFromName( CEAppGlobals* globals )
if ( colonPos != NULL ) {
*colonPos = 0;
}
#if ! defined _WIN32_WCE && defined DEBUG
swprintf( &widebuf[wcslen(widebuf)], L" %dx%d",
globals->dbWidth, globals->dbHeight );
#endif
}
#if ! defined _WIN32_WCE && defined DEBUG
swprintf( &widebuf[wcslen(widebuf)], L":%dx%d",
globals->dbWidth, globals->dbHeight );
#endif
SendMessage( globals->hWnd, WM_SETTEXT, 0, (long)widebuf );
} /* ceSetTitleFromName */