examples: remove duplicated condition
Antonin Décimo authored 4 years ago
Drew DeVault committed 4 years ago
136 | 136 | goto end; |
137 | 137 | } |
138 | 138 | |
139 | if ((unsigned)current.preedit.cursor_begin > strlen(preedit_text) | |
140 | || (unsigned)current.preedit.cursor_begin > strlen(preedit_text)) { | |
139 | if ((unsigned)current.preedit.cursor_begin > strlen(preedit_text)) { | |
141 | 140 | printf("Cursor out of bounds\n"); |
142 | 141 | goto end; |
143 | 142 | } |