summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authoralberth <alberth@openttd.org>2009-11-22 18:29:52 +0000
committeralberth <alberth@openttd.org>2009-11-22 18:29:52 +0000
commitbfd5cc456ab33d72e81aac9d434b4f01df172699 (patch)
tree3c8001bf331227fc1587aa385bc518982003dd79 /src
parent450e40b997ac0ac29c79abfeb1b96bb9bf2b8eed (diff)
downloadopenttd-bfd5cc456ab33d72e81aac9d434b4f01df172699.tar.xz
(svn r18231) -Fix: Enable filling of matrix widget in the depot gui.
Diffstat (limited to 'src')
-rw-r--r--src/depot_gui.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/depot_gui.cpp b/src/depot_gui.cpp
index 1b5e7367f..b730a42d6 100644
--- a/src/depot_gui.cpp
+++ b/src/depot_gui.cpp
@@ -659,6 +659,8 @@ struct DepotWindow : Window {
size->width = resize->width * (this->type == VEH_ROAD ? 5 : 3);
size->height = resize->height * (this->type == VEH_ROAD ? 5 : 3);
}
+ fill->width = resize->width;
+ fill->height = resize->height;
} break;
}
}