From b1237257f086649a204a301c996c29e269a1e7e5 Mon Sep 17 00:00:00 2001 From: Evan Stade Date: Wed, 15 Aug 2007 16:22:35 -0700 Subject: [PATCH] gdiplus: Fix default value of StringTrimmingCharacter. --- dlls/gdiplus/stringformat.c | 1 + dlls/gdiplus/tests/stringformat.c | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/gdiplus/stringformat.c b/dlls/gdiplus/stringformat.c index 6b20d235035..e328ffb249b 100644 --- a/dlls/gdiplus/stringformat.c +++ b/dlls/gdiplus/stringformat.c @@ -40,6 +40,7 @@ GpStatus WINGDIPAPI GdipCreateStringFormat(INT attr, LANGID lang, (*format)->attr = attr; (*format)->lang = lang; + (*format)->trimming = StringTrimmingCharacter; return Ok; } diff --git a/dlls/gdiplus/tests/stringformat.c b/dlls/gdiplus/tests/stringformat.c index 65bec8385e9..9cf46a43297 100644 --- a/dlls/gdiplus/tests/stringformat.c +++ b/dlls/gdiplus/tests/stringformat.c @@ -43,8 +43,7 @@ static void test_constructor(void) expect(HotkeyPrefixNone, n); expect(StringAlignmentNear, align); expect(StringAlignmentNear, align); - todo_wine - expect(StringTrimmingCharacter, trimming); + expect(StringTrimmingCharacter, trimming); stat = GdipDeleteStringFormat(format); expect(Ok, stat);