Difference for plugins/cfpython/cfpython.c from version 1.4 to 1.5


version 1.4 version 1.5
Line 166
 
Line 166
 CFPContext* context_stack;  CFPContext* context_stack;
 CFPContext* current_context;  CFPContext* current_context;
 static int current_command = -999;  static int current_command = -999;
   O2F
 static PyObject* registerGEvent(PyObject* self, PyObject* args)  static PyObject* registerGEvent(PyObject* self, PyObject* args)
 {  {
     int eventcode;      int eventcode;
Line 645
 
Line 645
         printf("Illegal call of runPluginCommand, call find_plugin_command first.\n");          printf("Illegal call of runPluginCommand, call find_plugin_command first.\n");
         return 1;          return 1;
     }      }
     strcpy(buf, cf_get_maps_directory(CustomCommand[i].name));      strcpy(buf, cf_get_maps_directory(CustomCommand[current_command].name));
     strcat(buf, ".py");      strcat(buf, ".py");
   
     context = malloc(sizeof(CFPContext));      context = malloc(sizeof(CFPContext));


Legend:
line(s) removed in v.1.4 
line(s) changed
 line(s) added in v.1.5

File made using version 1.98 of cvs2html by leaf at 2011-07-21 16:59