Try again again.
This commit is contained in:
parent
466f542bd3
commit
4afebf4d8e
|
@ -368,7 +368,7 @@ static void fontDialogDrawSampleText(struct fontDialog *f, ID2D1RenderTarget *rt
|
||||||
sample = uiprivFontCollectionCorrectString(f->fc, sampleStrings);
|
sample = uiprivFontCollectionCorrectString(f->fc, sampleStrings);
|
||||||
sampleStrings->Release();
|
sampleStrings->Release();
|
||||||
} else
|
} 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
|
// DirectWrite doesn't allow creating a text format from a font; we need to get this ourselves
|
||||||
family = cbGetItemText(f->familyCombobox, f->curFamily);
|
family = cbGetItemText(f->familyCombobox, f->curFamily);
|
||||||
|
|
|
@ -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;
|
hassysmsg = FormatMessageW(FORMAT_MESSAGE_ALLOCATE_BUFFER | FORMAT_MESSAGE_FROM_SYSTEM | FORMAT_MESSAGE_IGNORE_INSERTS, NULL, value, 0, (LPWSTR) (&sysmsg), 0, NULL) != 0;
|
||||||
if (!hassysmsg)
|
if (!hassysmsg)
|
||||||
sysmsg = L"";
|
sysmsg = (WCHAR *) L""; // TODO
|
||||||
wmessage = toUTF16(message + 1);
|
wmessage = toUTF16(message + 1);
|
||||||
wout = strf(L"-error initializing libui: %s; code %I32d (0x%08I32X) %s",
|
wout = strf(L"-error initializing libui: %s; code %I32d (0x%08I32X) %s",
|
||||||
wmessage,
|
wmessage,
|
||||||
|
|
Loading…
Reference in New Issue