Changeset dc0e41c in mainline


Ignore:
Timestamp:
2016-03-08T15:33:25Z (9 years ago)
Author:
Aurelio Colosimo <aurelio@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
d4d8255
Parents:
3266412
Message:

cmdtab_compl: fix 'if' condition while searching for maximum matching string

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/console/kconsole.c

    r3266412 rdc0e41c  
    228228       
    229229        while ((hint = hints_enum(name, NULL, &pos))) {
    230                 if ((found == 0) || (str_length(output) > str_length(hint)))
     230                if ((found == 0) || (str_length(hint) > str_length(output)))
    231231                        str_cpy(output, MAX_CMDLINE, hint);
    232232               
Note: See TracChangeset for help on using the changeset viewer.