Ticket #1718: B_letter_fix.patch

File B_letter_fix.patch, 505 bytes (added by slavazanko, 15 years ago)

B_letter_fix.patchrufork: patch by pavlinux. svn diff -r281:282 >

  • sandbox/pavlinux/mc/src/util.c

     
    11941194    for (w = s, r = s; *r; ) { 
    11951195        if (*r == ESC_CHAR) { 
    11961196            /* Skip the control sequence's arguments */ ; 
    1197             if (*(++r) == '[') { 
     1197            if (*(++r) == '[' || *r == '(') { 
    11981198                /* strchr() matches trailing binary 0 */ 
    11991199                while (*(++r) && strchr ("0123456789;?", *r)); 
    12001200            }