[Liblas-commits] r1193 - trunk/src/detail

liblas-commits at liblas.org liblas-commits at liblas.org
Thu Apr 9 13:09:25 EDT 2009


Author: hobu
Date: Thu Apr  9 13:09:24 2009
New Revision: 1193
URL: http://liblas.org/changeset/1193

Log:
pad bytes are accounted for in 1.0 data already #124 #125

Modified:
   trunk/src/detail/reader10.cpp

Modified: trunk/src/detail/reader10.cpp
==============================================================================
--- trunk/src/detail/reader10.cpp	(original)
+++ trunk/src/detail/reader10.cpp	Thu Apr  9 13:09:24 2009
@@ -297,8 +297,6 @@
         return false;
     std::streamsize pos = (static_cast<std::streamsize>(n) * m_recordlength) + m_offset;
 
-    if (m_has_pad_bytes) pos += 2;
-
     m_ifs.clear();
     m_ifs.seekg(pos, std::ios::beg);
     detail::read_n(record, m_ifs, sizeof(record));


More information about the Liblas-commits mailing list