mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-05 21:42:47 -05:00
Remove all `enum'-typed variables from the Config structure.
Everything in there which is integral is now an actual int, which means my forthcoming revamp of the config box will be able to work with `int *' pointers without fear of doom. [originally from svn r2733]
This commit is contained in:
8
ldisc.c
8
ldisc.c
@ -12,12 +12,12 @@
|
||||
#include "terminal.h"
|
||||
#include "ldisc.h"
|
||||
|
||||
#define ECHOING (ldisc->cfg->localecho == LD_YES || \
|
||||
(ldisc->cfg->localecho == LD_BACKEND && \
|
||||
#define ECHOING (ldisc->cfg->localecho == FORCE_ON || \
|
||||
(ldisc->cfg->localecho == AUTO && \
|
||||
(ldisc->back->ldisc(ldisc->backhandle, LD_ECHO) || \
|
||||
term_ldisc(ldisc->term, LD_ECHO))))
|
||||
#define EDITING (ldisc->cfg->localedit == LD_YES || \
|
||||
(ldisc->cfg->localedit == LD_BACKEND && \
|
||||
#define EDITING (ldisc->cfg->localedit == FORCE_ON || \
|
||||
(ldisc->cfg->localedit == AUTO && \
|
||||
(ldisc->back->ldisc(ldisc->backhandle, LD_EDIT) || \
|
||||
term_ldisc(ldisc->term, LD_EDIT))))
|
||||
|
||||
|
Reference in New Issue
Block a user