summaryrefslogtreecommitdiff
path: root/src/viewport_type.h
diff options
context:
space:
mode:
authorTechGeekNZ <git@tech.geek.nz>2020-06-29 13:38:29 +1200
committerCharles Pigott <charlespigott@googlemail.com>2020-07-27 17:31:29 +0100
commita10013dd00ee0e78bba7804feddc81d84ba57d69 (patch)
tree8875568d7e0e1dff52916558f93462badb585295 /src/viewport_type.h
parent7d66540af55fe9c28790cfe9d839bfbf8afb91dc (diff)
downloadopenttd-a10013dd00ee0e78bba7804feddc81d84ba57d69.tar.xz
Codechange: Spell 'Viewport' consistently
Some places in the codebase misspell 'Viewport' as 'ViewPort' or 'view_port'. This patch makes everything consistent.
Diffstat (limited to 'src/viewport_type.h')
-rw-r--r--src/viewport_type.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/viewport_type.h b/src/viewport_type.h
index f6a9ce4ae..6665af19e 100644
--- a/src/viewport_type.h
+++ b/src/viewport_type.h
@@ -19,7 +19,7 @@ class LinkGraphOverlay;
/**
* Data structure for viewport, display of a part of the world
*/
-struct ViewPort {
+struct Viewport {
int left; ///< Screen coordinate left edge of the viewport
int top; ///< Screen coordinate top edge of the viewport
int width; ///< Screen width of the viewport