mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-10-31 05:35:35 +00:00
code cleanup: remove unnecessary text_buf2
This commit is contained in:
@@ -846,11 +846,10 @@ int ReadClause(Translator *tr, char *buf, short *charix, int *charix_top, int n_
|
||||
|
||||
if (iswupper(c1)) {
|
||||
tr->clause_upper_count++;
|
||||
|
||||
if ((option_capitals == 2) && (sayas_mode == 0) && !iswupper(cprev)) {
|
||||
char text_buf[40];
|
||||
char text_buf2[30];
|
||||
if (LookupSpecial(tr, "_cap", text_buf2) != NULL) {
|
||||
sprintf(text_buf, "%s", text_buf2);
|
||||
char text_buf[30];
|
||||
if (LookupSpecial(tr, "_cap", text_buf) != NULL) {
|
||||
j = strlen(text_buf);
|
||||
if ((ix + j) < n_buf) {
|
||||
strcpy(&buf[ix], text_buf);
|
||||
|
||||
Reference in New Issue
Block a user