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:
70c7b43
)
removed the only one and superfloues strncmp
author
Anselm R. Garbe
<arg@suckless.org>
Wed, 23 May 2007 20:33:46 +0000
(22:33 +0200)
committer
Anselm R. Garbe
<arg@suckless.org>
Wed, 23 May 2007 20:33:46 +0000
(22:33 +0200)
main.c
patch
|
blob
|
history
diff --git
a/main.c
b/main.c
index af1f1a6bb0e8b0fa5e3462b728fce030b5daf0c5..23fd7bd4ea0f2898ed3b16936187bbead2a388ae 100644
(file)
--- a/
main.c
+++ b/
main.c
@@
-278,7
+278,7
@@
main(int argc, char *argv[]) {
fd_set rd;
XEvent ev;
- if(argc == 2 && !str
ncmp("-v", argv[1], 3
))
+ if(argc == 2 && !str
cmp("-v", argv[1]
))
eprint("dwm-"VERSION", © 2004-2007 Anselm R. Garbe, Sander van Dijk\n");
else if(argc != 1)
eprint("usage: dwm [-v]\n");