diff options
Diffstat (limited to 'python')
| -rw-r--r-- | python/tag.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/tag.cc b/python/tag.cc index 8f483467..8fb0a78e 100644 --- a/python/tag.cc +++ b/python/tag.cc @@ -344,7 +344,7 @@ static PyObject *TagFileNext(PyObject *Self) Obj.Section->Data = new char[Stop-Start+2]; snprintf(Obj.Section->Data, Stop-Start+2, "%s\n", Start); // Rescan it - if(Obj.Section->Object.Scan(Obj.Section->Data, Stop-Start) == false) + if(Obj.Section->Object.Scan(Obj.Section->Data, Stop-Start+2) == false) return HandleErrors(NULL); Py_INCREF(Obj.Section); |
