diff options
Diffstat (limited to 'i3bar/src/workspaces.c')
-rw-r--r-- | i3bar/src/workspaces.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/i3bar/src/workspaces.c b/i3bar/src/workspaces.c index 10c9fcf0..436d5a33 100644 --- a/i3bar/src/workspaces.c +++ b/i3bar/src/workspaces.c @@ -118,8 +118,9 @@ static int workspaces_string_cb(void *params_, const unsigned char *val, size_t size_t offset = strspn(ws_name, ws_num); /* Also strip off the conventional ws name delimiter */ - if (offset && ws_name[offset] == ':') + if (offset && ws_name[offset] == ':') { offset += 1; + } if (config.strip_ws_numbers) { /* Offset may be equal to length, in which case display the number */ |