Codebase list wlroots / 82f48b8
examples: remove duplicated condition Antonin Décimo authored 4 years ago Drew DeVault committed 4 years ago
1 changed file(s) with 1 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
136136 goto end;
137137 }
138138
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)) {
141140 printf("Cursor out of bounds\n");
142141 goto end;
143142 }