diff --git a/windows/fontdialog.cpp b/windows/fontdialog.cpp index 131593b2..4c698751 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 = (WCHAR *) L"The quick brown fox jumps over the lazy dog."; + sample = (WCHAR *) L"The quick brown fox jumps over the lazy dog."; // TODO // DirectWrite doesn't allow creating a text format from a font; we need to get this ourselves family = cbGetItemText(f->familyCombobox, f->curFamily); diff --git a/windows/init.cpp b/windows/init.cpp index 6b6752da..021ebaa3 100644 --- a/windows/init.cpp +++ b/windows/init.cpp @@ -22,7 +22,7 @@ static const char *initerr(const char *message, const WCHAR *label, DWORD value) hassysmsg = FormatMessageW(FORMAT_MESSAGE_ALLOCATE_BUFFER | FORMAT_MESSAGE_FROM_SYSTEM | FORMAT_MESSAGE_IGNORE_INSERTS, NULL, value, 0, (LPWSTR) (&sysmsg), 0, NULL) != 0; if (!hassysmsg) - sysmsg = L""; + sysmsg = (WCHAR *) L""; // TODO wmessage = toUTF16(message + 1); wout = strf(L"-error initializing libui: %s; code %I32d (0x%08I32X) %s", wmessage,