commit 28360c55d9dedb7a70ec40dad4899cebe3372bff
parent 2b0e697d1dee02fc86b1f00654b2723bd4b438db
Author: Kris Maglione <jg@suckless.org>
Date: Tue, 13 Oct 2009 22:02:47 -0400
Fix wmiir.
Diffstat:
4 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/cmd/wmiir.c b/cmd/wmiir.c
@@ -373,7 +373,7 @@ struct exectab {
int
main(int argc, char *argv[]) {
- char *address;
+ char *address, *cmd;
exectab *tab;
int ret;
diff --git a/doc/wmii.pdf b/doc/wmii.pdf
Binary files differ.
diff --git a/doc/wmii.tex b/doc/wmii.tex
@@ -175,7 +175,7 @@ As noted, \wmii\ provides two management styles:
entirely. Ad-hoc stacks of collapsed and uncollapsed windows
allow the user to efficiently manage their tasks. When
switching from an active to a collapsed window, the active
- window collapses, and the collapsed one effectively takes
+ window collapses and the collapsed one effectively takes
its place.
Managed windows have an unadorned titlebar:
@@ -200,7 +200,7 @@ As noted, \wmii\ provides two management styles:
the floating layer, above the managed windows. They have no
borders or titlebars, and occupy the full area of the
screen. Other than that, however, they're not special in any
- way. Other floating windows may appear above them, and the
+ way. Other floating windows may appear above them and the
user can still select, open, and close other windows at
will.
\end{description}
diff --git a/include/util.h b/include/util.h
@@ -61,11 +61,11 @@ char *argv0;
#undef ARGF
#undef EARGF
#define ARGBEGIN \
- int _argtmp=0, _inargv; char *_argv=nil; \
- if(!argv0) {argv0=*argv; argv++, argc--;} \
- _inargv=1; USED(_inargv); \
- while(argc && argv[0][0] == '-') { \
- _argv=&argv[0][1]; argv++; argc--; \
+ int _argtmp=0, _inargv; char *_argv=nil; \
+ if(!argv0) argv0=*argv; argv++, argc--; \
+ _inargv=1; USED(_inargv); \
+ while(argc && argv[0][0] == '-') { \
+ _argv=&argv[0][1]; argv++; argc--; \
if(_argv[0] == '-' && _argv[1] == '\0') \
break; \
while(*_argv) switch(*_argv++)