[hackers] [wmii] Fix wmiir. || Kris Maglione

From: <hg_AT_suckless.org>
Date: Wed, 14 Oct 2009 07:20:02 +0000 (UTC)

changeset: 2547:b33da0dfd8f0
tag: tip
user: Kris Maglione <jg_AT_suckless.org>
date: Tue Oct 13 22:02:47 2009 -0400
files: cmd/wmiir.c doc/wmii.pdf doc/wmii.tex include/util.h
description:
Fix wmiir.

diff -r 1641b66daa26 -r b33da0dfd8f0 cmd/wmiir.c
--- a/cmd/wmiir.c Tue Oct 13 22:19:38 2009 -0400
+++ b/cmd/wmiir.c Tue Oct 13 22:02:47 2009 -0400
@@ -373,7 +373,7 @@
 
 int
 main(int argc, char *argv[]) {
- char *address;
+ char *address, *cmd;
         exectab *tab;
         int ret;
 
diff -r 1641b66daa26 -r b33da0dfd8f0 doc/wmii.pdf
Binary file doc/wmii.pdf has changed
diff -r 1641b66daa26 -r b33da0dfd8f0 doc/wmii.tex
--- a/doc/wmii.tex Tue Oct 13 22:19:38 2009 -0400
+++ b/doc/wmii.tex Tue Oct 13 22:02:47 2009 -0400
@@ -175,7 +175,7 @@
     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 @@
     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 -r 1641b66daa26 -r b33da0dfd8f0 include/util.h
--- a/include/util.h Tue Oct 13 22:19:38 2009 -0400
+++ b/include/util.h Tue Oct 13 22:02:47 2009 -0400
@@ -61,11 +61,11 @@
 #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++)
Received on Wed Oct 14 2009 - 07:20:02 UTC

This archive was generated by hypermail 2.2.0 : Wed Oct 14 2009 - 07:24:07 UTC