summaryrefslogtreecommitdiff
path: root/src/group_gui.cpp
diff options
context:
space:
mode:
authorstormcone <48624099+stormcone@users.noreply.github.com>2019-11-25 22:59:03 +0100
committerIngo von Borstel <planetmaker@openttd.org>2019-11-25 22:59:03 +0100
commit40ebf3c7659201b5365839b1371c4f9e84feea50 (patch)
treebc3e31582f5080ac2824ddbfe7e168582a7ce39f /src/group_gui.cpp
parentd865916a071329ce216c50a2d8b6e6ccbd4fcedd (diff)
downloadopenttd-40ebf3c7659201b5365839b1371c4f9e84feea50.tar.xz
Fix: Do not refer to a function in the documentation that was removed years ago (#7844)
The 'DoDrawString' was removed with this commit: f11300d
Diffstat (limited to 'src/group_gui.cpp')
-rw-r--r--src/group_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/group_gui.cpp b/src/group_gui.cpp
index bd0ab45e2..b65543375 100644
--- a/src/group_gui.cpp
+++ b/src/group_gui.cpp
@@ -792,7 +792,7 @@ public:
switch (widget) {
case WID_GL_ALL_VEHICLES: // All vehicles
- case WID_GL_DEFAULT_VEHICLES: // Ungroupd vehicles
+ case WID_GL_DEFAULT_VEHICLES: // Ungrouped vehicles
if (g->parent != INVALID_GROUP) {
DoCommandP(0, this->group_sel | (1 << 16), INVALID_GROUP, CMD_ALTER_GROUP | CMD_MSG(STR_ERROR_GROUP_CAN_T_SET_PARENT));
}