Changeset ad15610 for commands.c


Ignore:
Timestamp:
Aug 8, 2007, 6:01:51 PM (13 years ago)
Author:
Nelson Elhage <nelhage@mit.edu>
Branches:
master, barnowl_perlaim, debian, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
Children:
ce7b824
Parents:
b51d257
Message:
Applying ctl's variable shuffling patch for better ANSI C-ness. closes #18
File:
1 edited

Legend:

Unmodified
Added
Removed
  • commands.c

    rb363d83 rad15610  
    24682468  owl_message *m;
    24692469  owl_view *v;
     2470  char *cmd;
    24702471
    24712472  v = owl_global_get_current_view(&g);
     
    24862487    return;
    24872488  }
    2488   char * cmd = owl_message_get_attribute_value(m, "yescommand");
     2489  cmd = owl_message_get_attribute_value(m, "yescommand");
    24892490  if(!cmd) {
    24902491    owl_function_error("No yes command!");
     
    25012502  owl_message *m;
    25022503  owl_view *v;
     2504  char *cmd;
    25032505
    25042506  v = owl_global_get_current_view(&g);
     
    25192521    return;
    25202522  }
    2521   char * cmd = owl_message_get_attribute_value(m, "nocommand");
     2523  cmd = owl_message_get_attribute_value(m, "nocommand");
    25222524  if(!cmd) {
    25232525    owl_function_error("No no command!");
Note: See TracChangeset for help on using the changeset viewer.