Changeset 636
- Timestamp:
- 1999-09-29T08:38:19+12:00 (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/src/recpt/formattools.cpp
r533 r636 28 28 /* 29 29 $Log$ 30 Revision 1.11 1999/09/28 20:38:19 rjmcnab 31 fixed a couple of bugs 32 30 33 Revision 1.10 1999/09/07 04:56:55 sjboddie 31 34 added GPL notice … … 300 303 text.push_back (*here); 301 304 302 here ++;305 if (here != end) here ++; 303 306 } 304 307 if (!text.empty()) { … … 333 336 text_t text; 334 337 while (here != end) { 335 if (*here == '{') {curlycount ++; text.push_back(*here);} 338 339 if (*here == '\\') { 340 here++; 341 if (here != end) text.push_back(*here); 342 343 } else if (*here == '{') {curlycount ++; text.push_back(*here);} 336 344 else if (*here == '}' && curlycount > 0) { 337 345 curlycount --; … … 405 413 } 406 414 if (*here == '}') break; 407 } 408 409 else 410 text.push_back(*here); 415 416 } else text.push_back(*here); 411 417 412 here ++;418 if (here != end) here ++; 413 419 } 414 420
Note:
See TracChangeset
for help on using the changeset viewer.