Commit b1237257 authored by Evan Stade's avatar Evan Stade Committed by Alexandre Julliard

gdiplus: Fix default value of StringTrimmingCharacter.

parent f46b7794
...@@ -40,6 +40,7 @@ GpStatus WINGDIPAPI GdipCreateStringFormat(INT attr, LANGID lang, ...@@ -40,6 +40,7 @@ GpStatus WINGDIPAPI GdipCreateStringFormat(INT attr, LANGID lang,
(*format)->attr = attr; (*format)->attr = attr;
(*format)->lang = lang; (*format)->lang = lang;
(*format)->trimming = StringTrimmingCharacter;
return Ok; return Ok;
} }
......
...@@ -43,8 +43,7 @@ static void test_constructor(void) ...@@ -43,8 +43,7 @@ static void test_constructor(void)
expect(HotkeyPrefixNone, n); expect(HotkeyPrefixNone, n);
expect(StringAlignmentNear, align); expect(StringAlignmentNear, align);
expect(StringAlignmentNear, align); expect(StringAlignmentNear, align);
todo_wine expect(StringTrimmingCharacter, trimming);
expect(StringTrimmingCharacter, trimming);
stat = GdipDeleteStringFormat(format); stat = GdipDeleteStringFormat(format);
expect(Ok, stat); expect(Ok, stat);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment