Fix a slice off-by-one

This commit is contained in:
Chris Jones 2007-11-08 23:36:01 -05:00
parent a2c04a359e
commit 16e4bd7f7d

View File

@ -280,7 +280,7 @@ class TerminatorTerm:
nameopen = "_Open Link"
namecopy = "_Copy Link Address"
else:
if url[0][0:6] != "mailto:":
if url[0][0:7] != "mailto:":
address = "mailto:" + url[0]
else:
address = url[0]