[wiki] [sandbox.suckless.org] removed misleading example diff || anselm
changeset: 140:8d53a09afa59
tag: tip
user: anselm_AT_x200s.config
date: Sun Jul 12 14:14:21 2009 +0100
files: www.suckless.org/common/index.md
description:
removed misleading example diff
diff -r b99c6c6cfd94 -r 8d53a09afa59 www.suckless.org/common/index.md
--- a/www.suckless.org/common/index.md Sun Jul 12 14:12:47 2009 +0100
+++ b/www.suckless.org/common/index.md Sun Jul 12 14:14:21 2009 +0100
_AT_@ -1,31 +1,5 @@
SUCK LESS PHILOSOPHY
====================
-
-Our philosophy exemplified, dwm-1.0 vs dwm-5.1
-----------------------------------------------
- _AT_@ -1,17 +1,7 @@
- void
- -tag(Arg *arg)
- -{
- - unsigned int i;
- -
- - if(!sel)
- - return;
- -
- - for(i = 0; i < ntags; i++)
- - sel->tags[i] = False;
- - sel->tags[arg->i] = True;
- - settitle(sel);
- - if(!isvisible(sel))
- - arrange(NULL);
- - else
- - drawstatus();
- +tag(const Arg *arg) {
- + if(sel && arg->ui & TAGMASK) {
- + sel->tags = arg->ui & TAGMASK;
- + arrange();
- + }
- }
Many (open source) hackers are proud if they achieve large amounts of code,
because they believe the more lines of code they've written, the more progress
Received on Sun Jul 12 2009 - 14:14:48 CEST
This archive was generated by hypermail 2.3.0
: Thu Sep 13 2012 - 19:30:41 CEST