~mdw
/
sgt
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Colin Watson has fixed the disgusting icons on GTK1. His patch
[sgt/putty]
/
unix
/
uxser.c
diff --git
a/unix/uxser.c
b/unix/uxser.c
index
454d7b3
..
24b0124
100644
(file)
--- a/
unix/uxser.c
+++ b/
unix/uxser.c
@@
-214,7
+214,16
@@
static const char *serial_configure(Serial serial, Config *cfg)
#ifdef ONLCR
| ONLCR
#endif
- | OCRNL | ONOCR | ONLRET);
+#ifdef OCRNL
+ | OCRNL
+#endif
+#ifdef ONOCR
+ | ONOCR
+#endif
+#ifdef ONLRET
+ | ONLRET
+#endif
+ );
options.c_cc[VMIN] = 1;
options.c_cc[VTIME] = 0;