summaryrefslogtreecommitdiff
path: root/src/industry_gui.cpp
diff options
context:
space:
mode:
authoralberth <alberth@openttd.org>2010-08-15 14:06:43 +0000
committeralberth <alberth@openttd.org>2010-08-15 14:06:43 +0000
commit35fec79700a961ccd9f3d13bc068edccc63dc6a5 (patch)
tree89db9e984c5c6100fcaa55ee36f29fd6027132dc /src/industry_gui.cpp
parent15514baf8b19c87c559361798c8d7705f2b3edf0 (diff)
downloadopenttd-35fec79700a961ccd9f3d13bc068edccc63dc6a5.tar.xz
(svn r20499) -Doc: Spelling fixes, and one doxygen comment addition.
Diffstat (limited to 'src/industry_gui.cpp')
-rw-r--r--src/industry_gui.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/industry_gui.cpp b/src/industry_gui.cpp
index c153769f5..996dda621 100644
--- a/src/industry_gui.cpp
+++ b/src/industry_gui.cpp
@@ -331,7 +331,7 @@ public:
}
d = maxdim(d, GetStringBoundingBox(str));
- /* Draw the produced cargos, if any. Otherwhise, will print "Nothing" */
+ /* Draw the produced cargoes, if any. Otherwise, will print "Nothing". */
GetAllCargoSuffixes(3, CST_FUND, NULL, this->index[i], indsp, indsp->produced_cargo, cargo_suffix);
str = STR_INDUSTRY_VIEW_PRODUCES_CARGO;
p = 0;
@@ -422,7 +422,7 @@ public:
y += FONT_HEIGHT_NORMAL;
}
- /* Draw the accepted cargos, if any. Otherwhise, will print "Nothing" */
+ /* Draw the accepted cargoes, if any. Otherwise, will print "Nothing". */
char cargo_suffix[3][512];
GetAllCargoSuffixes(0, CST_FUND, NULL, this->selected_type, indsp, indsp->accepts_cargo, cargo_suffix);
StringID str = STR_INDUSTRY_VIEW_REQUIRES_CARGO;
@@ -438,7 +438,7 @@ public:
DrawString(left, right, y, str);
y += FONT_HEIGHT_NORMAL;
- /* Draw the produced cargos, if any. Otherwhise, will print "Nothing" */
+ /* Draw the produced cargoes, if any. Otherwise, will print "Nothing". */
GetAllCargoSuffixes(3, CST_FUND, NULL, this->selected_type, indsp, indsp->produced_cargo, cargo_suffix);
str = STR_INDUSTRY_VIEW_PRODUCES_CARGO;
p = 0;
@@ -1259,7 +1259,7 @@ public:
Listing IndustryDirectoryWindow::last_sorting = {false, 0};
const Industry *IndustryDirectoryWindow::last_industry = NULL;
-/* Availible station sorting functions */
+/* Available station sorting functions. */
GUIIndustryList::SortFunction * const IndustryDirectoryWindow::sorter_funcs[] = {
&IndustryNameSorter,
&IndustryTypeSorter,