mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-09 04:59:31 -06:00
fix incorrect index
This commit is contained in:
@@ -97,7 +97,7 @@ object PgfReader::read_name_internal(size_t struct_size)
|
||||
if (in->fail())
|
||||
throw std::system_error(errno, std::generic_category());
|
||||
|
||||
ptext->text[size+1] = 0;
|
||||
ptext->text[size] = 0;
|
||||
|
||||
return offs;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user