Re: [2/3] DWrite: Implemented functions regarding text alignment. (try 2)
Fabian Müntefering <Cookiezzz97(a)gmx.de> writes:
@@ -1023,6 +1034,9 @@ HRESULT create_textformat(const WCHAR *family_name, IDWriteFontCollection *colle This->format.size = size; This->format.stretch = stretch;
+ /*Default values.*/ + This->format.text_align = 0;
Please use proper enum values when setting enum variables. -- Alexandre Julliard julliard(a)winehq.org
Am 30.05.2013 19:49, schrieb Alexandre Julliard:
Fabian Müntefering <Cookiezzz97(a)gmx.de> writes:
@@ -1023,6 +1034,9 @@ HRESULT create_textformat(const WCHAR *family_name, IDWriteFontCollection *colle This->format.size = size; This->format.stretch = stretch;
+ /*Default values.*/ + This->format.text_align = 0; Please use proper enum values when setting enum variables.
I will fix it as soon as possible.
participants (2)
-
Alexandre Julliard -
Fabian Müntefering