diff options
author | frosch <frosch@openttd.org> | 2009-08-15 11:47:11 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2009-08-15 11:47:11 +0000 |
commit | 2ad4bf74a1a0c78138efd450582e91423c282440 (patch) | |
tree | 464a371866dbf971235443fce776f2f06b396555 /src/train_gui.cpp | |
parent | 1f3f53f42171c43726873991bce9bbb3c2e88097 (diff) | |
download | openttd-2ad4bf74a1a0c78138efd450582e91423c282440.tar.xz |
(svn r17185) -Codechange: Tweak depot gui and vehicle lists, so text overlaps less with vehicle images.
Diffstat (limited to 'src/train_gui.cpp')
-rw-r--r-- | src/train_gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/train_gui.cpp b/src/train_gui.cpp index 1a8209119..062e70667 100644 --- a/src/train_gui.cpp +++ b/src/train_gui.cpp @@ -70,7 +70,7 @@ void DrawTrainImage(const Train *v, int x, int y, VehicleID selection, int max_w int highlight_l = 0; int highlight_r = 0; - if (!FillDrawPixelInfo(&tmp_dpi, x - 2, y - 1, max_width + 1, 14)) return; + if (!FillDrawPixelInfo(&tmp_dpi, x, y, max_width, 14)) return; old_dpi = _cur_dpi; _cur_dpi = &tmp_dpi; |