This website works better with JavaScript.
Home
Explore
Help
Sign In
gmarx
/
dwm-macbookair
mirror of
https://github.com/gmarxcc/dwm-macbookair
Watch
1
Star
1
Fork
0
Code
Issues
0
Projects
0
Releases
0
Wiki
Activity
Browse Source
serious mistake in pop() (forgot to set c->prev to NULL on pop)
main
arg@10ksloc.org
18 years ago
parent
72707c2fae
commit
0a4342098b
1 changed files
with
1 additions
and
0 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
client.c
+ 1
- 0
client.c
View File
@ -284,6 +284,7 @@ pop(Client *c)
c
-
>
next
-
>
prev
=
c
-
>
prev
;
c
-
>
next
-
>
prev
=
c
-
>
prev
;
*
l
=
c
-
>
next
;
*
l
=
c
-
>
next
;
c
-
>
prev
=
NULL
;
if
(
clients
)
if
(
clients
)
clients
-
>
prev
=
c
;
clients
-
>
prev
=
c
;
c
-
>
next
=
clients
;
c
-
>
next
=
clients
;
Write
Preview
Loading…
Cancel
Save