Skip to content

Commit b2abc6c

Browse files
committed
Decimals
1 parent 85b40ce commit b2abc6c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/NumberToText.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,9 +98,10 @@ class NumberToText : public SimpleTTSBase {
9898
if (dec.toInt()!=0.0){
9999
const char* ch=decimals;
100100
add(third[DOT]);
101-
while (*++ch){
101+
while (*ch){
102102
int idx = (*ch)-48; // convert to index
103103
add(first[idx]);
104+
ch++;
104105
}
105106
}
106107
}

0 commit comments

Comments
 (0)