Fixed memory overwrite bug.
This commit is contained in:
parent
82d1a8fb73
commit
d3d6c4ed14
|
@ -148,8 +148,8 @@ int PASCAL WinMain (HANDLE hInstance, HANDLE prev, LPSTR cmdline, int show)
|
|||
|
||||
/* Setup Globals */
|
||||
|
||||
lstrcpy(Globals.lpszIniFile, "notepad.ini");
|
||||
lstrcpy(Globals.lpszIcoFile, "notepad.ico");
|
||||
Globals.lpszIniFile = "notepad.ini";
|
||||
Globals.lpszIcoFile = "notepad.ico";
|
||||
|
||||
Globals.hInstance = hInstance;
|
||||
|
||||
|
|
Loading…
Reference in New Issue