fix (another… *sigh*) inverse logic error

This commit is contained in:
tg 2009-09-20 17:18:53 +00:00
parent 2ef07a6cc9
commit 08ec9ca3ab
1 changed files with 3 additions and 3 deletions

6
edit.c
View File

@ -25,7 +25,7 @@
#include "sh.h"
__RCSID("$MirOS: src/bin/mksh/edit.c,v 1.178 2009/09/20 17:00:52 tg Exp $");
__RCSID("$MirOS: src/bin/mksh/edit.c,v 1.179 2009/09/20 17:18:53 tg Exp $");
/* tty driver characters we are interested in */
typedef struct {
@ -1215,7 +1215,7 @@ x_modified(void)
modified = 1;
}
}
#define XFUNC_VALUE(f) (f & 0x7F)
#define XFUNC_VALUE(f) (f)
#else
#define x_modified() do { \
if (!modified) { \
@ -1223,7 +1223,7 @@ x_modified(void)
modified = 1; \
} \
} while (/* CONSTCOND */ 0)
#define XFUNC_VALUE(f) (f)
#define XFUNC_VALUE(f) (f & 0x7F)
#endif
static int