diff options
author | Darkvater <Darkvater@openttd.org> | 2007-01-13 15:55:22 +0000 |
---|---|---|
committer | Darkvater <Darkvater@openttd.org> | 2007-01-13 15:55:22 +0000 |
commit | 43343d640bec8af642c36609edc5c5f70252f3be (patch) | |
tree | 3b1e870b3b34caf6324ad899444f37e8b4021de3 /src/newgrf_gui.cpp | |
parent | 330f9e0c4ef84585294c22bf4d13add61bfbcce6 (diff) | |
download | openttd-43343d640bec8af642c36609edc5c5f70252f3be.tar.xz |
(svn r8102) -Cleanup: Remove unreachable code (r8096), useless cast
Diffstat (limited to 'src/newgrf_gui.cpp')
-rw-r--r-- | src/newgrf_gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/newgrf_gui.cpp b/src/newgrf_gui.cpp index 0854b18f6..8b1203563 100644 --- a/src/newgrf_gui.cpp +++ b/src/newgrf_gui.cpp @@ -50,7 +50,7 @@ static void ShowNewGRFInfo(const GRFConfig *c, uint x, uint y, uint w, bool show } /* Prepare and draw GRF ID */ - snprintf(buff, lengthof(buff), "%08X", (uint32)BSWAP32(c->grfid)); + snprintf(buff, lengthof(buff), "%08X", BSWAP32(c->grfid)); SetDParamStr(0, buff); y += DrawStringMultiLine(x, y, STR_NEWGRF_GRF_ID, w); |