summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorProjectRevoTPP <projectrevotpp@hotmail.com>2017-08-12 01:30:45 -0400
committerProjectRevoTPP <projectrevotpp@hotmail.com>2017-08-12 01:30:45 -0400
commit6695219f406722e740fff860fe8e094966565d7f (patch)
tree058066f0002654c448447c6705b9e61c8de824e7 /tools
parent1a8fe435e7deabf06029c8e50201136518e3af73 (diff)
parentea36898775f5e31c6a175251339da1ed60de218d (diff)
merge
Diffstat (limited to 'tools')
-rw-r--r--tools/scaninc/asm_file.cpp2
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()