From bdb54a11ddb35d7c3aee06c400784446e32b515c Mon Sep 17 00:00:00 2001 From: alberth Date: Sat, 22 Aug 2009 19:06:02 +0000 Subject: [PATCH] (svn r17265) -Codechange: Typo fix, small is with two l's --- src/news_gui.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/news_gui.cpp b/src/news_gui.cpp index 81b1ce2fbb..73b9be1108 100644 --- a/src/news_gui.cpp +++ b/src/news_gui.cpp @@ -399,7 +399,7 @@ static WindowDesc _thin_news_desc( _thin_news_widgets, _nested_thin_news_widgets, lengthof(_nested_thin_news_widgets) ); -static const Widget _smalll_news_widgets[] = { +static const Widget _small_news_widgets[] = { { WWT_PANEL, RESIZE_NONE, COLOUR_LIGHT_BLUE, 0, 279, 14, 86, 0x0, STR_NULL}, { WWT_CLOSEBOX, RESIZE_NONE, COLOUR_LIGHT_BLUE, 0, 10, 0, 13, STR_BLACK_CROSS, STR_TOOLTIP_CLOSE_WINDOW}, { WWT_CAPTION, RESIZE_NONE, COLOUR_LIGHT_BLUE, 11, 279, 0, 13, STR_NEWS_MESSAGE_CAPTION, STR_NULL}, @@ -407,7 +407,7 @@ static const Widget _smalll_news_widgets[] = { { WIDGETS_END}, }; -static NWidgetPart _nested_smalll_news_widgets[] = { +static NWidgetPart _nested_small_news_widgets[] = { /* Caption + close box */ NWidget(NWID_HORIZONTAL), NWidget(WWT_CLOSEBOX, COLOUR_LIGHT_BLUE, NTW_CLOSEBOX), SetMinimalSize(11, 14), SetDataTip(STR_BLACK_CROSS, STR_TOOLTIP_CLOSE_WINDOW), @@ -429,12 +429,12 @@ static NWidgetPart _nested_smalll_news_widgets[] = { EndContainer(), }; -static WindowDesc _smalll_news_desc( +static WindowDesc _small_news_desc( WDP_CENTER, 476, 280, 87, 280, 87, WC_NEWS_WINDOW, WC_NONE, WDF_DEF_WIDGET, - _smalll_news_widgets, - _nested_smalll_news_widgets, lengthof(_nested_smalll_news_widgets) + _small_news_widgets, + _nested_small_news_widgets, lengthof(_nested_small_news_widgets) ); @@ -458,8 +458,8 @@ static void ShowNewspaper(NewsItem *ni) break; case NM_SMALL: - _smalll_news_desc.top = top; - w = new NewsWindow(&_smalll_news_desc, ni); + _small_news_desc.top = top; + w = new NewsWindow(&_small_news_desc, ni); break; default: NOT_REACHED();