changeset 2246:a6791c6486fa

[project @ 1996-05-22 07:34:50 by jwe]
author jwe
date Wed, 22 May 1996 07:34:50 +0000
parents aaeccf9e1d32
children 108d848901b4
files src/pt-const.cc
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/pt-const.cc	Wed May 22 05:21:20 1996 +0000
+++ b/src/pt-const.cc	Wed May 22 07:34:50 1996 +0000
@@ -261,7 +261,7 @@
 	  end = ref.find ('.', beg);
 
 	  string tmp = (end == NPOS)
-	    ? ref.substr (beg) : ref.substr (beg, end - 1);
+	    ? ref.substr (beg) : ref.substr (beg, end - beg);
 
 	  list.append (tmp);
 	}