shithub: werc

Download patch

ref: 52f0262b69fbc0cc463b41e3e60e3d7d9ce9b1e8
parent: b469932e87f5b0c047c20db6183fbd5fab608c46
author: uriel <uriel@suckless.org>
date: Sun Jun 15 16:41:32 EDT 2008

Fix silly syntax error, thanks anothy for the bug repport and squeek for the fix

--- a/bin/controller.rc
+++ b/bin/controller.rc
@@ -32,7 +32,7 @@
 fn menu {
     lsArgs = ( '-F' )
     # XXX will not work properly for $#blogDirs > 1 and matching is hackish
-    if ( (!~ $#inBlog 0) || ! ~ $#blogDirs 0 && (~ $blogDirs^/ *$1 *$1/) ) { # Work in progress XXX
+    if ( (! ~ $#inBlog 0) || ! ~ $#blogDirs 0 && (~ $blogDirs^/ *$1 *$1/) ) { # Work in progress XXX
     	lsArgs = ($lsArgs -r)
     }