Permalink
Browse files

Change bar_format +R region index to start at 1 for consistency.

  • Loading branch information...
LordReg committed Oct 3, 2017
1 parent 79d583b commit 6b80d2381577a39e7a52cb17ff549b9289cfc613
Showing with 1 addition and 1 deletion.
  1. +1 −1 spectrwm.c
View
@@ -2581,7 +2581,7 @@ bar_replace_seq(char *fmt, char *fmtrep, struct swm_region *r, size_t *offrep,
bar_window_class_instance(tmp, sizeof tmp, r);
break;
case 'R':
snprintf(tmp, sizeof tmp, "%d", get_region_index(r));
snprintf(tmp, sizeof tmp, "%d", get_region_index(r) + 1);
break;
case 'S':
snprintf(tmp, sizeof tmp, "%s", r->ws->stacker);

0 comments on commit 6b80d23

Please sign in to comment.