From d8d91b4ed752293c340a2f3a1e3939e79397c61d Mon Sep 17 00:00:00 2001 From: Javier De la Garza Sanchez Date: Thu, 12 Dec 2024 10:47:06 -0600 Subject: [PATCH] Added CodeQL supression comment --- src/propsheet/fontdlg.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/propsheet/fontdlg.cpp b/src/propsheet/fontdlg.cpp index 96afbcacb05..c45e3e519f0 100644 --- a/src/propsheet/fontdlg.cpp +++ b/src/propsheet/fontdlg.cpp @@ -1557,7 +1557,7 @@ BOOL PreviewUpdate( LoadString(ghInstance, IDS_FONTSIZE, wszBuf, ARRAYSIZE(wszBuf)); StringCchPrintf(wszText, ARRAYSIZE(wszText), - wszBuf, + wszBuf, // CodeQL [SM01734] Pulled from a resource file and cannot be a string literal MIN_PIXEL_HEIGHT, MAX_PIXEL_HEIGHT);