We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d33b71e commit 4968763Copy full SHA for 4968763
base/applications/mspaint/winproc.cpp
@@ -94,6 +94,7 @@ void CMainWindow::saveImage(BOOL overwrite)
94
else if (GetSaveFileName(&sfn) != 0)
95
{
96
imageModel.SaveImage(sfn.lpstrFile);
97
+ _tcsncpy(filepathname, sfn.lpstrFile, SIZEOF(filepathname));
98
CString strTitle;
99
strTitle.Format(IDS_WINDOWTITLE, (LPCTSTR)sfn.lpstrFileTitle);
100
SetWindowText(strTitle);
0 commit comments