From: handa Date: Wed, 21 Oct 2009 02:03:11 +0000 (+0000) Subject: *** empty log message *** X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=54602b00f56e17f468dd051154cd2a5c9b798301;p=m17n%2Fm17n-lib-cs.git *** empty log message *** --- diff --git a/MInputMethod.cs b/MInputMethod.cs index 9618135..d08f7c2 100644 --- a/MInputMethod.cs +++ b/MInputMethod.cs @@ -650,7 +650,7 @@ namespace M17N.Input public PredefinedSurround (MSymbol name) : base (name) { - if (! int.TryParse (((string) name).Substring (2), out distance)) + if (! int.TryParse (((string) name).Substring (1), out distance)) throw new Exception ("Invalid marker name: " + name); if (distance > 0) distance--;