mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-17 02:57:33 -05:00
Adopt C99 <stdbool.h>'s true/false.
This commit includes <stdbool.h> from defs.h and deletes my traditional definitions of TRUE and FALSE, but other than that, it's a 100% mechanical search-and-replace transforming all uses of TRUE and FALSE into the C99-standardised lowercase spellings. No actual types are changed in this commit; that will come next. This is just getting the noise out of the way, so that subsequent commits can have a higher proportion of signal.
This commit is contained in:
6
dialog.c
6
dialog.c
@ -364,7 +364,7 @@ union control *ctrl_listbox(struct controlset *s, const char *label,
|
||||
c->listbox.percentwidth = 100;
|
||||
c->listbox.ncols = 0;
|
||||
c->listbox.percentages = NULL;
|
||||
c->listbox.hscroll = TRUE;
|
||||
c->listbox.hscroll = true;
|
||||
return c;
|
||||
}
|
||||
|
||||
@ -381,7 +381,7 @@ union control *ctrl_droplist(struct controlset *s, const char *label,
|
||||
c->listbox.percentwidth = percentage;
|
||||
c->listbox.ncols = 0;
|
||||
c->listbox.percentages = NULL;
|
||||
c->listbox.hscroll = FALSE;
|
||||
c->listbox.hscroll = false;
|
||||
return c;
|
||||
}
|
||||
|
||||
@ -398,7 +398,7 @@ union control *ctrl_draglist(struct controlset *s, const char *label,
|
||||
c->listbox.percentwidth = 100;
|
||||
c->listbox.ncols = 0;
|
||||
c->listbox.percentages = NULL;
|
||||
c->listbox.hscroll = FALSE;
|
||||
c->listbox.hscroll = false;
|
||||
return c;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user