Kaydet (Commit) 042d4f83 authored tarafından Eike Rathke's avatar Eike Rathke

a pattern must not start with a separator

Change-Id: I5dfc5c859b007b7e3d7266c7656dc533788888ba
üst 03e96dd2
...@@ -1736,6 +1736,10 @@ IMPL_LINK( OfaLanguagesTabPage, DatePatternsHdl, Edit*, pEd ) ...@@ -1736,6 +1736,10 @@ IMPL_LINK( OfaLanguagesTabPage, DatePatternsHdl, Edit*, pEd )
bSep = false; bSep = false;
break; break;
default: default:
// A pattern must not start with a separator (but
// may end with).
if (!(bY || bM || bD))
bValid = false;
bSep = true; bSep = true;
} }
nChar += i-j; nChar += i-j;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment