Changeset 368 for trunk/dll/newview.c
- Timestamp:
- Jul 27, 2006, 4:20:16 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/newview.c
r350 r368 15 15 06 Jun 05 SHL Correct reversed wrap logic 16 16 17 Jul 06 SHL Use Runtime_Error 17 26 Jul 06 SHL Use chop_at_crnl and convert_nl_to_nul 17 18 18 19 ***********************************************************************/ … … 937 938 { 938 939 lastline = 1; 939 n = strchr(t, '\n'); 940 if (n) 941 { 942 *n = 0; 943 n++; 944 } 940 n = convert_nl_to_nul(t); 945 941 if (*t) 946 942 { … … 3523 3519 strncpy(line, ad -> lines[ad -> cursored - 1], CCHMAXPATH); 3524 3520 line[CCHMAXPATH - 1] = 0; 3525 p = strchr(line, '\r'); 3526 if (p) 3527 *p = 0; 3528 p = strchr(line, '\n'); 3529 if (p) 3530 *p = 0; 3521 chop_at_crnl(line); 3531 3522 if (*line == '\"') 3532 3523 {
Note:
See TracChangeset
for help on using the changeset viewer.