Changeset 3907 for trunk/console
- Timestamp:
- 09/25/04 00:44:58 (4 years ago)
- Files:
-
- 1 modified
-
trunk/console/src/console.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/console/src/console.cpp
r3802 r3907 2445 2445 getyx(winMain->Win(), yp, nLinePos[m_nCon]); 2446 2446 *winMain << '\n'; 2447 // Check if the line started witha '.'2447 // Check if the line only contains a '.' 2448 2448 sz[n] = '\0'; 2449 2449 char *szNL = strrchr(sz, '\n'); … … 2452 2452 else 2453 2453 szNL++; 2454 if ( *szNL == '.' || *szNL == ',')2454 if ( ( *szNL == '.' || *szNL == ',' ) && strlen( szNL ) == 1) 2455 2455 return szNL; 2456 2456
