mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-17 02:37:25 +00:00
ICU-5787 a crash in dtptngen.cpp :line 1526.
X-SVN-Rev: 22475
This commit is contained in:
parent
f62fc33cd7
commit
762a820053
1 changed files with 1 additions and 1 deletions
|
@ -1523,7 +1523,7 @@ FormatParser::getQuoteLiteral(UnicodeString& quote, int32_t *itemIndex) {
|
|||
}
|
||||
while ( i < itemNumber ) {
|
||||
if ( items[i].charAt(0)==SINGLE_QUOTE ) {
|
||||
if ( items[i+1].charAt(0)==SINGLE_QUOTE ) {
|
||||
if ( (i+1<itemNumber) && (items[i+1].charAt(0)==SINGLE_QUOTE)) {
|
||||
// two single quotes e.g. 'o''clock'
|
||||
quote += items[++i];
|
||||
continue;
|
||||
|
|
Loading…
Add table
Reference in a new issue