summaryrefslogtreecommitdiff
path: root/plugins/Clist_modern
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Clist_modern')
-rw-r--r--plugins/Clist_modern/src/CLUIFrames/cluiframes.cpp2
-rw-r--r--plugins/Clist_modern/src/modern_viewmodebar.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Clist_modern/src/CLUIFrames/cluiframes.cpp b/plugins/Clist_modern/src/CLUIFrames/cluiframes.cpp
index aa5e376f25..42741e8028 100644
--- a/plugins/Clist_modern/src/CLUIFrames/cluiframes.cpp
+++ b/plugins/Clist_modern/src/CLUIFrames/cluiframes.cpp
@@ -1765,7 +1765,7 @@ static HFONT CLUILoadTitleBarFont()
HFONT hfont;
LOGFONTA logfont;
memset(&logfont, 0, sizeof(logfont));
- memmove(logfont.lfFaceName,facename,sizeof(facename));
+ memcpy(logfont.lfFaceName,facename,sizeof(facename));
logfont.lfWeight = FW_NORMAL;
logfont.lfHeight = -10;
logfont.lfCharSet = DEFAULT_CHARSET;
diff --git a/plugins/Clist_modern/src/modern_viewmodebar.cpp b/plugins/Clist_modern/src/modern_viewmodebar.cpp
index d32a94710d..34fffc42ce 100644
--- a/plugins/Clist_modern/src/modern_viewmodebar.cpp
+++ b/plugins/Clist_modern/src/modern_viewmodebar.cpp
@@ -810,7 +810,7 @@ INT_PTR CALLBACK DlgProcViewModesSetup(HWND hwndDlg, UINT msg, WPARAM wParam, LP
{
TCHAR szBuf[256];
szBuf[0] = 0;
- GetDlgItemText(hwndDlg, IDC_NEWVIEMODE, szBuf, 256);
+ GetDlgItemText(hwndDlg, IDC_NEWVIEMODE, szBuf, SIZEOF(szBuf));
szBuf[255] = 0;
if (szBuf[0] != 0) {