- Timestamp:
- Sep 20, 2005, 11:22:46 PM (19 years ago)
- Location:
- trunk/src
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/coord/p_node.cc
r5119 r5209 108 108 this->bRelDirChanged = true; 109 109 this->parent = parent; 110 this->parentMode = PNODE_PARENT_MODE_DEFAULT; 110 111 111 112 // iterators -
trunk/src/lib/coord/p_node.h
r5113 r5209 46 46 47 47 //! The default mode of the translation-binding. 48 #define DEFAULT_MODEPNODE_ALL48 #define PNODE_PARENT_MODE_DEFAULT PNODE_ALL 49 49 50 50 … … 98 98 99 99 100 void addChild (PNode* child, int parentingMode = DEFAULT_MODE);100 void addChild (PNode* child, int parentingMode = PNODE_PARENT_MODE_DEFAULT); 101 101 void addChild (const char* childName); 102 102 void removeChild (PNode* child); -
trunk/src/lib/shell/shell.cc
r5208 r5209 64 64 // BUFFER 65 65 this->bufferText = NULL; 66 this-> setBufferDisplaySize(10);66 this->bufferDisplaySize = 10; 67 67 68 68 // INPUT LINE -
trunk/src/lib/util/list.h
r5171 r5209 365 365 inline tIterator<T>::tIterator (const tList<T>* list) 366 366 { 367 this->currentEl = list->first;367 this->currentEl = NULL; 368 368 this->tmpEl = NULL; 369 369 this->list = list; -
trunk/src/lib/util/substring.cc
r5200 r5209 70 70 } 71 71 72 l = strlen( offset); 72 73 strings[i] = new char[l + 1]; 73 l = strlen( offset);74 74 strncpy( strings[i], offset, l); 75 75 strings[i][l] = '\0'; -
trunk/src/story_entities/world.cc
r5206 r5209 265 265 PRINTF(2)("World is missing a proper 'name'\n"); 266 266 string = "Unknown"; 267 temp = new char[strlen(string + 2)];267 temp = new char[strlen(string)+1]; 268 268 strcpy( temp, string); 269 269 this->setName(temp); … … 271 271 else 272 272 { 273 temp = new char[strlen(string + 2)];273 temp = new char[strlen(string )+1]; 274 274 strcpy( temp, string); 275 275 this->setName(temp);
Note: See TracChangeset
for help on using the changeset viewer.