diff options
author | rubidium <rubidium@openttd.org> | 2009-09-28 12:38:35 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-09-28 12:38:35 +0000 |
commit | 4347758e489b37a9d28c0b4b75931ed30fb6eb38 (patch) | |
tree | 1f4334b49ad6f416bd7c4903cf63891404f2e9e4 /src/settings.cpp | |
parent | d74216b7feb020cb09f677053e4a9bd0cbbf0eee (diff) | |
download | openttd-4347758e489b37a9d28c0b4b75931ed30fb6eb38.tar.xz |
(svn r17658) -Codechange: remove custom drawing of the signal density in the signal GUI
-Codechange: move the state updates from OnPaint
Diffstat (limited to 'src/settings.cpp')
-rw-r--r-- | src/settings.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/settings.cpp b/src/settings.cpp index d7ac17356..7ea4ff194 100644 --- a/src/settings.cpp +++ b/src/settings.cpp @@ -751,7 +751,7 @@ static bool TrainAccelerationModelChanged(int32 p1) static bool DragSignalsDensityChanged(int32) { - SetWindowDirty(WC_BUILD_SIGNAL, 0); + InvalidateWindowData(WC_BUILD_SIGNAL, 0); return true; } |