diff options
author | belugas <belugas@openttd.org> | 2006-10-03 02:08:15 +0000 |
---|---|---|
committer | belugas <belugas@openttd.org> | 2006-10-03 02:08:15 +0000 |
commit | 753b5724001079c3352d23a911488044884dcf5b (patch) | |
tree | dc2a5593c6d3da96528beb914da8807aea2325e7 /music_gui.c | |
parent | e383584988a99dbdfbcd4a63b1f11213a4274355 (diff) | |
download | openttd-753b5724001079c3352d23a911488044884dcf5b.tar.xz |
(svn r6619) -Codechange: Use accessors for disabled_state.
Another step toward merging XTDwidget.
The only two files not converted (window.h and widget.c) will be done at the very last commit)
Diffstat (limited to 'music_gui.c')
-rw-r--r-- | music_gui.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/music_gui.c b/music_gui.c index c98ead015..6174337c0 100644 --- a/music_gui.c +++ b/music_gui.c @@ -199,7 +199,7 @@ static void MusicTrackSelectionWndProc(Window *w, WindowEvent *e) uint i; int y; - w->disabled_state = (msf.playlist <= 3) ? (1 << 11) : 0; + SetWindowWidgetDisabledState(w, 11, msf.playlist <= 3); w->click_state |= 0x18; DrawWindowWidgets(w); |