diff options
Diffstat (limited to 'tools/scaninc/c_file.cpp')
-rw-r--r-- | tools/scaninc/c_file.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/scaninc/c_file.cpp b/tools/scaninc/c_file.cpp index bba196857..c55ca9a8c 100644 --- a/tools/scaninc/c_file.cpp +++ b/tools/scaninc/c_file.cpp @@ -292,5 +292,5 @@ std::string CFile::ReadPath() m_pos++; - return std::string(m_buffer, startPos, m_pos - 1 - startPos); + return std::string(m_buffer + startPos, m_pos - 1 - startPos); } |