Mercurial > ecos
comparison host/tools/Utils/common/Properties.cpp @ 208:e0c0827131d1 ecos
Merge from eCos master repository on 2002-05-20-20:11:54-BST
| author | jlarmour |
|---|---|
| date | Mon, 20 May 2002 22:19:26 +0000 |
| parents | 6736c52df507 |
| children | 9589be2cc5c9 |
comparison
equal
deleted
inserted
replaced
| 207:74c807ddde34 | 208:e0c0827131d1 |
|---|---|
| 380 if(nLen>0){ | 380 if(nLen>0){ |
| 381 // Remove trailing '\n' | 381 // Remove trailing '\n' |
| 382 if(_TCHAR('\n')==buf[nLen-1]){ | 382 if(_TCHAR('\n')==buf[nLen-1]){ |
| 383 buf[--nLen]=_TCHAR('\0'); | 383 buf[--nLen]=_TCHAR('\0'); |
| 384 } | 384 } |
| 385 // Remove trailing '\r' | |
| 386 if(_TCHAR('\r')==buf[nLen-1]){ | |
| 387 buf[--nLen]=_TCHAR('\0'); | |
| 388 } | |
| 385 | 389 |
| 386 // Check for continuation lines | 390 // Check for continuation lines |
| 387 if(_TCHAR('\\')==buf[nLen-1]){ | 391 if(_TCHAR('\\')==buf[nLen-1]){ |
| 388 buf[--nLen]=_TCHAR('\0'); | 392 buf[--nLen]=_TCHAR('\0'); |
| 389 str+=buf; | 393 str+=buf; |
