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.
This commit is contained in:
Javier
2024-12-12 17:38:21 -06:00
committed by GitHub
parent 8ef77fba3b
commit 19460f98e0

View File

@@ -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);