diff options
Diffstat (limited to 'src/news_gui.cpp')
-rw-r--r-- | src/news_gui.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/news_gui.cpp b/src/news_gui.cpp index e8fafaa4e..cb2c79f49 100644 --- a/src/news_gui.cpp +++ b/src/news_gui.cpp @@ -40,7 +40,7 @@ const NewsItem *_statusbar_news_item = NULL; -static uint MIN_NEWS_AMOUNT = 30; ///< prefered minimum amount of news messages +static uint MIN_NEWS_AMOUNT = 30; ///< preferred minimum amount of news messages static uint _total_news = 0; ///< current number of news items static NewsItem *_oldest_news = NULL; ///< head of news items queue static NewsItem *_latest_news = NULL; ///< tail of news items queue @@ -977,7 +977,7 @@ static void DrawNewsString(uint left, uint right, int y, TextColour colour, cons } *dest = '\0'; - /* Truncate and show string; postfixed by '...' if neccessary */ + /* Truncate and show string; postfixed by '...' if necessary */ DrawString(left, right, y, buffer2, colour); } @@ -985,7 +985,7 @@ struct MessageHistoryWindow : Window { static const int top_spacing; ///< Additional spacing at the top of the #WID_MH_BACKGROUND widget. static const int bottom_spacing; ///< Additional spacing at the bottom of the #WID_MH_BACKGROUND widget. - int line_height; /// < Height of a single line in the news histoy window including spacing. + int line_height; /// < Height of a single line in the news history window including spacing. int date_width; /// < Width needed for the date part. Scrollbar *vscroll; |