[mapguide-commits] r4203 - trunk/Tools/Maestro/Maestro
svn_mapguide at osgeo.org
svn_mapguide at osgeo.org
Sun Aug 30 09:53:38 EDT 2009
Author: ksgeograf
Date: 2009-08-30 09:53:38 -0400 (Sun, 30 Aug 2009)
New Revision: 4203
Modified:
trunk/Tools/Maestro/Maestro/FormExpression.cs
Log:
Maestro: Fixed issue #1078.
Modified: trunk/Tools/Maestro/Maestro/FormExpression.cs
===================================================================
--- trunk/Tools/Maestro/Maestro/FormExpression.cs 2009-08-30 13:47:06 UTC (rev 4202)
+++ trunk/Tools/Maestro/Maestro/FormExpression.cs 2009-08-30 13:53:38 UTC (rev 4203)
@@ -539,10 +539,11 @@
char c = ExpressionText.Text[caretPos];
while (Char.IsLetterOrDigit(c))
{
- if (caretPos == 0)
+ caretPos--;
+
+ if (caretPos < 0)
break;
- caretPos--;
c = ExpressionText.Text[caretPos];
}
More information about the mapguide-commits
mailing list