diff options
author | smatz <smatz@openttd.org> | 2008-05-04 21:53:36 +0000 |
---|---|---|
committer | smatz <smatz@openttd.org> | 2008-05-04 21:53:36 +0000 |
commit | 297f99e100bcede36d54b8f833756c73d70fd4a0 (patch) | |
tree | 741c48c433316b11af1a790772deb3a4078fe47c /src/video/win32_v.cpp | |
parent | 0b8b5d1f3b5f45374d1e43390777b2de51fb7728 (diff) | |
download | openttd-297f99e100bcede36d54b8f833756c73d70fd4a0.tar.xz |
(svn r12944) -Codechange: use rev.h instead of externs at many places
Diffstat (limited to 'src/video/win32_v.cpp')
-rw-r--r-- | src/video/win32_v.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video/win32_v.cpp b/src/video/win32_v.cpp index 0ab7be62f..eb78408f4 100644 --- a/src/video/win32_v.cpp +++ b/src/video/win32_v.cpp @@ -5,6 +5,7 @@ #include "../gfx_func.h" #include "../variables.h" #include "../win32.h" +#include "../rev.h" #include "../blitter/factory.hpp" #include "../network/network.h" #include "../core/math_func.hpp" @@ -282,7 +283,6 @@ static bool MakeWindow(bool full_screen) ShowWindow(_wnd.main_wnd, SW_SHOWNORMAL); // remove maximize-flag SetWindowPos(_wnd.main_wnd, 0, x, y, w, h, SWP_NOACTIVATE | SWP_NOOWNERZORDER | SWP_NOZORDER); } else { - extern const char _openttd_revision[]; TCHAR Windowtitle[50]; _sntprintf(Windowtitle, sizeof(Windowtitle), _T("OpenTTD %s"), MB_TO_WIDE(_openttd_revision)); |