Fixed memory overwrite bug.

This commit is contained in:
Ulrich Weigand 2000-02-03 01:33:04 +00:00 committed by Alexandre Julliard
parent 82d1a8fb73
commit d3d6c4ed14
1 changed files with 2 additions and 2 deletions

View File

@ -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;