diff options
author | rubidium <rubidium@openttd.org> | 2010-02-10 21:06:05 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2010-02-10 21:06:05 +0000 |
commit | 7a73a7490d6c2aed45a9773d5399416a29a4cc4e (patch) | |
tree | 7da7983dd116cdee4f82c4553a2482f37b514b5a /src/graph_gui.cpp | |
parent | 249acc9e4f22d6cc503db857518d0f95a4edec07 (diff) | |
download | openttd-7a73a7490d6c2aed45a9773d5399416a29a4cc4e.tar.xz |
(svn r19090) -Codechange: some comment coding style fixes
Diffstat (limited to 'src/graph_gui.cpp')
-rw-r--r-- | src/graph_gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/graph_gui.cpp b/src/graph_gui.cpp index 48d8b2862..5c4446c41 100644 --- a/src/graph_gui.cpp +++ b/src/graph_gui.cpp @@ -842,7 +842,7 @@ struct PaymentRatesGraphWindow : BaseGraphWindow { const CargoSpec *cs = CargoSpec::Get(widget - CPW_CARGO_FIRST); SetDParam(0, cs->name); Dimension d = GetStringBoundingBox(STR_GRAPH_CARGO_PAYMENT_CARGO); - d.width += 14; /* colour field */ + d.width += 14; // colour field d.width += WD_FRAMERECT_LEFT + WD_FRAMERECT_RIGHT; d.height += WD_FRAMERECT_TOP + WD_FRAMERECT_BOTTOM; *size = maxdim(d, *size); |