ratpoison-devel
[Top][All Lists]
Advanced

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

[RP] Bug - 'bloody strtok()' or 'unbind error message'


From: Doug Kearns
Subject: [RP] Bug - 'bloody strtok()' or 'unbind error message'
Date: Tue Dec 11 05:27:01 2001
User-agent: Mutt/1.2.5i

Problem: The error messages generated from cmd_unbind() are incorrect for
         key descriptions which include a modifier - only the first
         modifier is included in the message.

         unbind Esc    ->  "Esc unbound key"
         unbind C-Esc  ->  "C unbound key"

         This occurs because the 'keydesc' string is passed off to
         parse_keydesc() which uses strtok() and this is kind enough to
         modify the string.

Fix:     Trivial - I'll leave it up to you guys.

Regards,
Doug




reply via email to

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