diff options
| author | Douglas Rumbaugh <doug@douglasrumbaugh.com> | 2022-12-05 15:39:07 -0500 |
|---|---|---|
| committer | Douglas Rumbaugh <doug@douglasrumbaugh.com> | 2022-12-05 15:39:07 -0500 |
| commit | 30b76a1f93a79d7c88c510b53143bfbf146efbd6 (patch) | |
| tree | 6b593933698fbde15f3250dbb7c2ca0b6161d409 /dwm.c | |
| parent | da4475e12268ea27869957fa775dddbb539c110a (diff) | |
| download | dwm-30b76a1f93a79d7c88c510b53143bfbf146efbd6.tar.gz | |
Warning cleanup
Diffstat (limited to 'dwm.c')
| -rw-r--r-- | dwm.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -976,16 +976,15 @@ drawbar(Monitor *m) return; /* draw status first so it can be overdrawn by tags later */ - char *text, *s, ch; + char *s, ch; x = 0; - for (text = s = stext; *s; s++) { + for (s = stext; *s; s++) { if ((unsigned char)(*s) < ' ') { ch = *s; *s = '\0'; tw = m->ww - drawstatusbar(m, bh, stext); x += tw; *s = ch; - text = s + 1; } } |