- Timestamp:
- Aug 27, 2005, 2:51:14 AM (19 years ago)
- Location:
- trunk/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/util/substring.cc
r4836 r5147 73 73 { 74 74 for( int i = 0; i < this->splittersCount; i++) 75 { 76 delete this->strings[i]; 77 } 78 75 delete this->strings[i]; 79 76 delete this->strings; 80 77 } -
trunk/src/util/shell_command.cc
r5146 r5147 200 200 if (paramBegin == NULL) 201 201 paramBegin = commandBegin + strlen(elem->getName()); 202 while (*paramBegin == ' ') 203 paramBegin++; 202 204 203 205 if (objectPointer != NULL && paramBegin != NULL) -
trunk/src/util/shell_command.h
r5146 r5147 70 70 #define ShellCommandExecute1(t1) \ 71 71 else if (this->paramCount == 1 && this->parameters[0] == t1##_PARAM) \ 72 (dynamic_cast<T*>(object)->*functionPointer_1_##t1)( 0)//t1##_FUNC(parameters, 0))72 (dynamic_cast<T*>(object)->*functionPointer_1_##t1)(t1##_FUNC(parameters, 0)) 73 73 74 74 … … 159 159 virtual void executeCommand (BaseObject* object, const char* parameters) 160 160 { 161 SubString params(parameters, ','); 161 if (parameters != NULL) 162 SubString params(parameters, ','); 162 163 #define FUNCTOR_LIST(x) ShellCommandExecute ## x 163 164 //#include "functor_list.h"
Note: See TracChangeset
for help on using the changeset viewer.