Shortened placeholders in bar
This commit is contained in:
@@ -3110,8 +3110,8 @@ tag(const Arg *arg)
|
||||
drawbars();
|
||||
}
|
||||
|
||||
/* Workspace label: first tagtitlelen characters of the tag's master client
|
||||
* title, padded with spaces. Empty tags show tagempty. */
|
||||
/* Workspace label: at most tagtitlelen characters of the tag's master client
|
||||
* title. Empty tags show tagempty. */
|
||||
void
|
||||
taglabel(Monitor *m, unsigned int i, char *buf, size_t size)
|
||||
{
|
||||
@@ -3139,8 +3139,6 @@ taglabel(Monitor *m, unsigned int i, char *buf, size_t size)
|
||||
while ((*s & 0xc0) == 0x80 && n < size - 1);
|
||||
chars++;
|
||||
}
|
||||
for (; chars < tagtitlelen && n < size - 1; chars++)
|
||||
buf[n++] = ' ';
|
||||
buf[n] = '\0';
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user