summaryrefslogtreecommitdiff
path: root/plugins/NewStory/src/history_control.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/NewStory/src/history_control.cpp')
-rw-r--r--plugins/NewStory/src/history_control.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/NewStory/src/history_control.cpp b/plugins/NewStory/src/history_control.cpp
index e843906dff..7afb4d0556 100644
--- a/plugins/NewStory/src/history_control.cpp
+++ b/plugins/NewStory/src/history_control.cpp
@@ -273,7 +273,8 @@ static int LayoutItem(HWND hwnd, HistoryArray *items, int index)
int width = rc.right - rc.left;
ItemData *item = items->get(index, ItemData::ELM_DATA);
- if (!item) return 0;
+ if (!item)
+ return 0;
int tpl;
int fontid;