Changeset d1744fd in mainline


Ignore:
Timestamp:
2018-11-30T05:49:47Z (6 years ago)
Author:
Matthieu Riolo <matthieu.riolo@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
63087f1d
Parents:
02c6dcc
Message:

correcting formatting

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/bdsh/input.c

    r02c6dcc rd1744fd  
    187187                unsigned int cmd_replace_index = cmd_token_start;
    188188                for (i = 0; i < tokens_length; i++) {
    189                         if(i == cmd_replace_index) {
     189                        if (i == cmd_replace_index) {
    190190                                //if there is a pipe symbol than cmd_token_start will point at the SPACE after the pipe symbol
    191                                 if(tokens[i].type == TOKTYPE_SPACE) {
     191                                if (tokens[i].type == TOKTYPE_SPACE) {
    192192                                        cmd_replace_index++;
    193193                                        str_append(usr->line, input_length, tokens[i].text);
     
    196196
    197197                                str_append(usr->line, input_length, data->value);
    198                         }else {
     198                        } else {
    199199                                str_append(usr->line, input_length, tokens[i].text);
    200200                        }
Note: See TracChangeset for help on using the changeset viewer.