From cc8a41268779d0ba732b508e2a5f511761a26c04 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Sat, 17 Jun 2017 17:15:32 -0400 Subject: [PATCH] More TODOs. --- windows/dwrite.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/windows/dwrite.cpp b/windows/dwrite.cpp index 2e9ce928..498ef376 100644 --- a/windows/dwrite.cpp +++ b/windows/dwrite.cpp @@ -66,6 +66,7 @@ WCHAR *fontCollectionCorrectString(fontCollection *fc, IDWriteLocalizedStrings * hr = names->FindLocaleName(fc->userLocale, &index, &exists); if (hr != S_OK || (hr == S_OK && !exists)) hr = names->FindLocaleName(L"en-us", &index, &exists); + // TODO check hr again here? or did I decide that would be redundant because COM requires output arguments to be filled regardless of return value? if (!exists) index = 0;