public
/
FUZIX.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a936607
)
tty: fix bracketing
author
Alan Cox
<alan@etchedpixels.co.uk>
Mon, 10 Nov 2014 01:00:23 +0000
(
01:00
+0000)
committer
Alan Cox
<alan@etchedpixels.co.uk>
Mon, 10 Nov 2014 01:00:23 +0000
(
01:00
+0000)
Kernel/tty.c
patch
|
blob
|
history
diff --git
a/Kernel/tty.c
b/Kernel/tty.c
index
bada714
..
2f20d82
100644
(file)
--- a/
Kernel/tty.c
+++ b/
Kernel/tty.c
@@
-330,7
+330,7
@@
int tty_inproc(uint8_t minor, unsigned char c)
/* All modes come here */
if (c == '\n') {
- if ((td->c_oflag &
OPOST | ONLCR) == OPOST | ONLCR
)
+ if ((td->c_oflag &
(OPOST | ONLCR)) == (OPOST | ONLCR)
)
tty_echo(minor, '\r');
}