Try again.

This commit is contained in:
Pietro Gagliardi 2019-04-03 10:11:57 -04:00
parent 30a8cbf8b1
commit 466f542bd3
1 changed files with 1 additions and 1 deletions

View File

@ -368,7 +368,7 @@ static void fontDialogDrawSampleText(struct fontDialog *f, ID2D1RenderTarget *rt
sample = uiprivFontCollectionCorrectString(f->fc, sampleStrings);
sampleStrings->Release();
} else
sample = L"The quick brown fox jumps over the lazy dog.";
sample = (WCHAR *) L"The quick brown fox jumps over the lazy dog.";
// DirectWrite doesn't allow creating a text format from a font; we need to get this ourselves
family = cbGetItemText(f->familyCombobox, f->curFamily);