Changeset 7869e48 for cmd.c


Ignore:
Timestamp:
Jan 12, 2013, 1:43:13 PM (11 years ago)
Author:
Jason Gross <jgross@mit.edu>
Children:
e3a0d71, 4485285
Parents:
4626016
git-author:
Jason Gross <jgross@mit.edu> (01/12/13 13:13:18)
git-committer:
Jason Gross <jgross@mit.edu> (01/12/13 13:43:13)
Message:
Remove trailing whitespace

This commit was made with the command sequence

    for i in $(git ls-files | tr '\n' ' ');
    do
      echo $i; sed -i s'/\s\+$//g' "$(readlink -f $i)";
    done
File:
1 edited

Legend:

Unmodified
Added
Removed
  • cmd.c

    rf271129 r7869e48  
    7979    owl_function_makemsg("Unbalanced quotes");
    8080    return NULL;
    81   } 
    82  
     81  }
     82
    8383  if (argc < 1) {
    8484    g_strfreev(argv);
     
    144144}
    145145
    146 int owl_cmd_is_context_valid(const owl_cmd *cmd, const owl_context *ctx) { 
     146int owl_cmd_is_context_valid(const owl_cmd *cmd, const owl_context *ctx) {
    147147  if (owl_context_matches(ctx, cmd->validctx)) return 1;
    148148  else return 0;
     
    168168      rv = owl_function_command(newcmd);
    169169      g_free(newcmd);
    170     } 
     170    }
    171171    alias_recurse_depth--;
    172172    return rv;
     
    201201  if (cmd->cmd_args_fn) {
    202202    return cmd->cmd_args_fn(argc, argv, cmdbuff);
    203   } else if (cmd->cmd_v_fn) {   
     203  } else if (cmd->cmd_v_fn) {
    204204    cmd->cmd_v_fn();
    205205  } else if (cmd->cmd_i_fn) {
     
    207207  } else if (cmd->cmd_ctxargs_fn) {
    208208    return cmd->cmd_ctxargs_fn(owl_context_get_data(ctx), argc, argv, cmdbuff);
    209   } else if (cmd->cmd_ctxv_fn) {   
     209  } else if (cmd->cmd_ctxv_fn) {
    210210    cmd->cmd_ctxv_fn(owl_context_get_data(ctx));
    211211  } else if (cmd->cmd_ctxi_fn) {
     
    277277  }
    278278
    279   owl_fmtext_append_normal(fm, "\n\n"); 
    280 }
     279  owl_fmtext_append_normal(fm, "\n\n");
     280}
Note: See TracChangeset for help on using the changeset viewer.