From 466f542bd3c7e6252d5e0c56cda91a08bfa0292c Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Wed, 3 Apr 2019 10:11:57 -0400 Subject: [PATCH] Try again. --- windows/fontdialog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/windows/fontdialog.cpp b/windows/fontdialog.cpp index fa9c1d0d..131593b2 100644 --- a/windows/fontdialog.cpp +++ b/windows/fontdialog.cpp @@ -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);