summaryrefslogtreecommitdiff
path: root/src/story_gui.cpp
diff options
context:
space:
mode:
authorJMcKiern <jmckiern@tcd.ie>2019-09-29 21:27:32 +0100
committerCharles Pigott <charlespigott@googlemail.com>2019-09-29 21:27:32 +0100
commit04f659e768486da4fc73a97a633f140d9733bf78 (patch)
tree7d1ecef7d6a39891d2485ae8a0ef8f12673d2b93 /src/story_gui.cpp
parent316e4e94171d8d269b80dd9e329fc1fe610fbfe2 (diff)
downloadopenttd-04f659e768486da4fc73a97a633f140d9733bf78.tar.xz
Fix: Some typos found using codespell
Diffstat (limited to 'src/story_gui.cpp')
-rw-r--r--src/story_gui.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/story_gui.cpp b/src/story_gui.cpp
index 5ce77cc63..316e79ebb 100644
--- a/src/story_gui.cpp
+++ b/src/story_gui.cpp
@@ -263,7 +263,7 @@ protected:
/**
* Counts how many pixels of height that are used by Date and Title
* (excluding marginal after Title, as each body element has
- * an empty row before the elment).
+ * an empty row before the element).
* @param max_width Available width to display content.
* @return the height in pixels.
*/
@@ -412,7 +412,7 @@ public:
this->vscroll = this->GetScrollbar(WID_SB_SCROLLBAR);
this->vscroll->SetStepSize(FONT_HEIGHT_NORMAL);
- /* Initalize page sort. */
+ /* Initialize page sort. */
this->story_pages.SetSortFuncs(StoryBookWindow::page_sorter_funcs);
this->story_pages.ForceRebuild();
this->BuildStoryPageList();