diff options
Diffstat (limited to 'plugins/NewStory/src/history_control.cpp')
-rw-r--r-- | plugins/NewStory/src/history_control.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/NewStory/src/history_control.cpp b/plugins/NewStory/src/history_control.cpp index c358b918b5..7c33868ffe 100644 --- a/plugins/NewStory/src/history_control.cpp +++ b/plugins/NewStory/src/history_control.cpp @@ -383,8 +383,7 @@ int NewstoryListData::GetItemHeight(int index) RECT rc; GetClientRect(hwnd, &rc); int width = rc.right - rc.left; - SIZE sz; - sz.cx = width - 6; + SIZE sz = { width - 6, 0 }; MTextMeasure(hdc, &sz, (HANDLE)item->data); SelectObject(hdc, hOldFont); |