projects
/
suckless
/
dwm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
72707c2
)
serious mistake in pop() (forgot to set c->prev to NULL on pop)
author
arg@10ksloc.org
<unknown>
Thu, 20 Jul 2006 16:23:43 +0000
(18:23 +0200)
committer
arg@10ksloc.org
<unknown>
Thu, 20 Jul 2006 16:23:43 +0000
(18:23 +0200)
client.c
patch
|
blob
|
history
diff --git
a/client.c
b/client.c
index 34c69aa11e455b0952b9730f90267f55a209620f..89ca5fb6ed31f3ccef39d0798d45fd0cb9918952 100644
(file)
--- a/
client.c
+++ b/
client.c
@@
-284,6
+284,7
@@
pop(Client *c)
c->next->prev = c->prev;
*l = c->next;
+ c->prev = NULL;
if(clients)
clients->prev = c;
c->next = clients;