diff options
Diffstat (limited to 'tools/scaninc')
| -rw-r--r-- | tools/scaninc/asm_file.cpp | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/tools/scaninc/asm_file.cpp b/tools/scaninc/asm_file.cpp index c3d140bb1..6322749e2 100644 --- a/tools/scaninc/asm_file.cpp +++ b/tools/scaninc/asm_file.cpp @@ -137,7 +137,7 @@ std::string AsmFile::ReadPath()              FATAL_INPUT_ERROR("path is too long");      } -    return std::string(m_buffer, startPos, length); +    return std::string(m_buffer + startPos, length);  }  void AsmFile::SkipEndOfLineComment() | 
