forked from mirror/OpenTTD
(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)
This commit is contained in:
@@ -1010,7 +1010,7 @@ static void ExtraViewPortWndProc(Window *w, WindowEvent *e)
|
||||
{
|
||||
switch (e->event) {
|
||||
case WE_CREATE: /* Disable zoom in button */
|
||||
w->disabled_state = (1 << 5);
|
||||
DisableWindowWidget(w, 5);
|
||||
break;
|
||||
|
||||
case WE_PAINT:
|
||||
|
Reference in New Issue
Block a user