weechat-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Weechat-dev] [bug #40204] Falsely truncated nicks due to weechat.look.n


From: anonymous
Subject: [Weechat-dev] [bug #40204] Falsely truncated nicks due to weechat.look.nick_{prefix, suffix}
Date: Mon, 14 Oct 2013 07:24:30 +0000
User-agent: Mozilla/5.0 (X11; Linux i686 (x86_64)) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/30.0.1599.66 Safari/537.36

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/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]