X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=scrotwm.c;h=31a7364213cfb7efea07f2546f142000d103ba21;hb=0ec8b7200e971b5d5721dac23fe4364e91bda13f;hp=f6a175c91028ce2fcf9f32776e0cbd8ff1fabfdc;hpb=6691aefda3837f10022c939f3f87b8cc366914a9;p=spectrwm.git diff --git a/scrotwm.c b/scrotwm.c index f6a175c..31a7364 100644 --- a/scrotwm.c +++ b/scrotwm.c @@ -912,7 +912,8 @@ version(struct swm_region *r, union arg *args) { bar_version = !bar_version; if (bar_version) - strlcpy(bar_vertext, cvstag, sizeof bar_vertext); + snprintf(bar_vertext, sizeof bar_vertext, "Version: %s CVS: %s", + SWM_VERSION, cvstag); else strlcpy(bar_vertext, "", sizeof bar_vertext); bar_update();