From 7262bab8e520db7e326c219c24e996e20f91e906 Mon Sep 17 00:00:00 2001 From: Michael Vogt Date: Wed, 3 Sep 2014 10:25:26 +0200 Subject: fix tests --- python/tag.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python/tag.cc') 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); -- cgit v1.2.3