cgeo/c-geo-opensource — pull request #1020 by campbeb (2012-01-22 03:39:53+00:00)
Title: Fix #1019 by correcting the index for substring calls.

The calls to substring should not be adjusted (-1 or +1).
I tested and this code works for short descriptions matching following patterns:

Text
TextText
TextTextText