From 19460f98e059f1b4993a06afe5db2e412fa4b84d Mon Sep 17 00:00:00 2001 From: Javier Date: Thu, 12 Dec 2024 17:38:21 -0600 Subject: [PATCH] Add CodeQL suppression comment to propsheet (#18315) CodeQL is raising errors when building Visual Studio since we have a dependency on Windows Terminal for our integrated terminal. The issue raised is not applicable to this case and therefore requires a suppression comment to ignore the raised error. --- 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 96afbcacb0..c45e3e519f 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);