[wiki] [sites] ensure strings are terminated || Andrew Milkovich
commit f2bfc78cd36c7206ed1bcbc87ec0e57016b421c9
Author: Andrew Milkovich <amilkovich_AT_gmail.com>
Date: Fri Jun 28 23:04:07 2013 -0700
ensure strings are terminated
diff --git a/dwm.suckless.org/patches/dualstatus.md b/dwm.suckless.org/patches/dualstatus.md
index a09c166..8cb819b 100644
--- a/dwm.suckless.org/patches/dualstatus.md
+++ b/dwm.suckless.org/patches/dualstatus.md
_AT_@ -11,7 +11,7 @@ xsetroot -name "Top text;Bottom text"
Download
--------
- * [dwm-6.1-dualstatus.diff](dwm-6.1-dualstatus.diff) (4655b) (20130626)
+ * [dwm-6.1-dualstatus.diff](dwm-6.1-dualstatus.diff) (4690b) (20130628)
Screenshot
----------
diff --git a/dwm.suckless.org/patches/dwm-6.1-dualstatus.diff b/dwm.suckless.org/patches/dwm-6.1-dualstatus.diff
index e806220..8c35446 100644
--- a/dwm.suckless.org/patches/dwm-6.1-dualstatus.diff
+++ b/dwm.suckless.org/patches/dwm-6.1-dualstatus.diff
_AT_@ -19,7 +19,7 @@ index d300687..e286e5d 100644
{ MODKEY, XK_k, focusstack, {.i = -1 } },
{ MODKEY, XK_i, incnmaster, {.i = +1 } },
diff --git a/dwm.c b/dwm.c
-index 314adf4..0ab7edc 100644
+index 314adf4..09a14f8 100644
--- a/dwm.c
+++ b/dwm.c
_AT_@ -140,6 +140,13 @@ typedef struct {
_AT_@ -132,7 +132,7 @@ index 314adf4..0ab7edc 100644
}
void
-_AT_@ -1920,8 +1960,19 @@ updatetitle(Client *c) {
+_AT_@ -1920,8 +1960,21 @@ updatetitle(Client *c) {
void
updatestatus(void) {
_AT_@ -146,9 +146,11 @@ index 314adf4..0ab7edc 100644
+ char *e = strchr(text, ';');
+ if(e) {
+ *e = '
Received on Sat Jun 29 2013 - 08:04:18 CEST
This archive was generated by hypermail 2.3.0
: Sat Jun 29 2013 - 08:12:15 CEST