Revert "Only treat the first tab as the alignment point"
This reverts commit 5881a96638
.
weechat-hashes
parent
8b7cc1a0ed
commit
71b0536536
2
ui.c
2
ui.c
|
@ -383,7 +383,7 @@ static void wordWrap(WINDOW *win, const char *str) {
|
||||||
int align = 0;
|
int align = 0;
|
||||||
struct Style style = Reset;
|
struct Style style = Reset;
|
||||||
while (*str) {
|
while (*str) {
|
||||||
if (*str == '\t' && !align) {
|
if (*str == '\t') {
|
||||||
waddch(win, ' ');
|
waddch(win, ' ');
|
||||||
getyx(win, y, align);
|
getyx(win, y, align);
|
||||||
str++;
|
str++;
|
||||||
|
|
Loading…
Reference in New Issue