diff options
Diffstat (limited to 'plugins/Clist_modern/src/modern_skinselector.cpp')
-rw-r--r-- | plugins/Clist_modern/src/modern_skinselector.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Clist_modern/src/modern_skinselector.cpp b/plugins/Clist_modern/src/modern_skinselector.cpp index 3c167fd430..03f0a1c030 100644 --- a/plugins/Clist_modern/src/modern_skinselector.cpp +++ b/plugins/Clist_modern/src/modern_skinselector.cpp @@ -560,6 +560,6 @@ int SkinDrawGlyphMask(HDC hdc, RECT *rcSize, RECT *rcClip, MODERNMASK *ModernMas rq.hDC = hdc;
rq.rcDestRect = *rcSize;
rq.rcClipRect = *rcClip;
- mir_strncpy(rq.szObjectID, "Masked draw", _countof(rq.szObjectID));
+ strncpy_s(rq.szObjectID, "Masked draw", _TRUNCATE);
return ske_Service_DrawGlyph((WPARAM)&rq, (LPARAM)ModernMask);
}
|