Follow-up Comment #1, bug #40204 (project weechat):

Attached is a diff that should fix the root if the problem, if I understood
all the prefix calculation code correctly.

I believe that 'prefix_length' already contains 'length_nick_prefix_suffix',
so there's no need to subtract it again. Subtracting it leads to nickname
truncation, as num_spaces will always be < 0.

(file #29372)
    _______________________________________________________

Additional Item Attachment:

File name: 0001-Correct-alignment-with-look.nick_-prefix-suffix.patch Size:0
KB


    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?40204>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/


_______________________________________________
Weechat-dev mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/weechat-dev

Reply via email to