mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 06:33:07 +00:00
[MSPAINT] Fix Copy-To-File feature (#5877)
The Copy-To-File feature had some bugs that the user couldn't save. - Modify SelectionModel::GetSelectionContents. - Delete SelectionModel::CopyBitmap, SelectionModel::LockBitmap, and SelectionModel::UnlockBitmap functions. CORE-19186
This commit is contained in:
parent
e627c3b00e
commit
d7ece626cb
8 changed files with 51 additions and 59 deletions
|
@ -342,7 +342,7 @@ void CTextEditWindow::UpdateFont()
|
|||
lf.lfWeight = (registrySettings.Bold ? FW_BOLD : FW_NORMAL);
|
||||
lf.lfItalic = (BYTE)registrySettings.Italic;
|
||||
lf.lfUnderline = (BYTE)registrySettings.Underline;
|
||||
lstrcpyn(lf.lfFaceName, registrySettings.strFontName, _countof(lf.lfFaceName));
|
||||
StringCchCopyW(lf.lfFaceName, _countof(lf.lfFaceName), registrySettings.strFontName);
|
||||
|
||||
HDC hdc = GetDC();
|
||||
if (hdc)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue