Changeset 3512 in ntrip
- Timestamp:
- Dec 13, 2011, 12:37:13 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/GPSS/hassDecoder.cpp
r3508 r3512 16 16 * -----------------------------------------------------------------------*/ 17 17 18 #include <iostream> 18 19 #include "hassDecoder.h" 19 20 #include "bnctime.h" … … 44 45 while ( (indexEOL = _buffer.indexOf('\n')) != -1) { 45 46 QByteArray line = _buffer.left(indexEOL-1); 46 _buffer = _buffer.mid(indexEOL );47 _buffer = _buffer.mid(indexEOL+1); 47 48 48 if (QString(line).split(QRegExp("\\s+") ).count() != 11) {49 if (QString(line).split(QRegExp("\\s+"), QString::SkipEmptyParts).count() != 11) { 49 50 continue; 50 51 }
Note:
See TracChangeset
for help on using the changeset viewer.