projects
/
u
/
mdw
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
As far as I can see (at least in NetBSD) O_NONBLOCK and FIONBIO are equivalent,
[u/mdw/putty]
/
windows
/
windlg.c
diff --git
a/windows/windlg.c
b/windows/windlg.c
index
3a9d6e5
..
8235110
100644
(file)
--- a/
windows/windlg.c
+++ b/
windows/windlg.c
@@
-322,7
+322,7
@@
static HTREEITEM treeview_insert(struct treeview_faff *faff,
newitem = TreeView_InsertItem(faff->treeview, &ins);
if (level > 0)
TreeView_Expand(faff->treeview, faff->lastat[level - 1],
newitem = TreeView_InsertItem(faff->treeview, &ins);
if (level > 0)
TreeView_Expand(faff->treeview, faff->lastat[level - 1],
-
TVE_EXPAND
);
+
(level > 1 ? TVE_COLLAPSE : TVE_EXPAND)
);
faff->lastat[level] = newitem;
for (i = level + 1; i < 4; i++)
faff->lastat[i] = NULL;
faff->lastat[level] = newitem;
for (i = level + 1; i < 4; i++)
faff->lastat[i] = NULL;