JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
Fix a ;; that breaks gcc 2.95
[spectrwm.git] / scrotwm.c
index f6a175c..ae5fd0d 100644 (file)
--- 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();
@@ -1566,7 +1567,7 @@ stack_master(struct workspace *ws, struct swm_geometry *g, int rot, int flip)
        int                     w_inc = 1, h_inc, w_base = 1, h_base;
        int                     hrh, extra = 0, h_slice, last_h = 0;
        int                     split, colno, winno, mwin, msize, mscale;
-       int                     remain, missing, v_slice;;
+       int                     remain, missing, v_slice;
        unsigned int            mask;
 
        DNPRINTF(SWM_D_STACK, "stack_master: workspace: %d\n rot=%s flip=%s",