More title-related fixes.
This commit is contained in:
@@ -82,7 +82,7 @@ void d3d_fs_init(HWND h)
|
|||||||
{
|
{
|
||||||
int c;
|
int c;
|
||||||
HRESULT hr;
|
HRESULT hr;
|
||||||
char *emulator_title;
|
char emulator_title[200];
|
||||||
|
|
||||||
d3d_fs_w = GetSystemMetrics(SM_CXSCREEN);
|
d3d_fs_w = GetSystemMetrics(SM_CXSCREEN);
|
||||||
d3d_fs_h = GetSystemMetrics(SM_CYSCREEN);
|
d3d_fs_h = GetSystemMetrics(SM_CYSCREEN);
|
||||||
|
@@ -525,7 +525,7 @@ int WINAPI WinMain (HINSTANCE hThisInstance,
|
|||||||
MSG messages; /* Here messages to the application are saved */
|
MSG messages; /* Here messages to the application are saved */
|
||||||
WNDCLASSEX wincl; /* Data structure for the windowclass */
|
WNDCLASSEX wincl; /* Data structure for the windowclass */
|
||||||
int c, d, bRet;
|
int c, d, bRet;
|
||||||
char *emulator_title;
|
char emulator_title[200];
|
||||||
LARGE_INTEGER qpc_freq;
|
LARGE_INTEGER qpc_freq;
|
||||||
HACCEL haccel; /* Handle to accelerator table */
|
HACCEL haccel; /* Handle to accelerator table */
|
||||||
|
|
||||||
@@ -563,6 +563,7 @@ int WINAPI WinMain (HINSTANCE hThisInstance,
|
|||||||
initmenu();
|
initmenu();
|
||||||
|
|
||||||
sprintf(emulator_title, "86Box v%s", emulator_version);
|
sprintf(emulator_title, "86Box v%s", emulator_version);
|
||||||
|
|
||||||
/* The class is registered, let's create the program*/
|
/* The class is registered, let's create the program*/
|
||||||
hwnd = CreateWindowEx (
|
hwnd = CreateWindowEx (
|
||||||
0, /* Extended possibilites for variation */
|
0, /* Extended possibilites for variation */
|
||||||
|
Reference in New Issue
Block a user