xF: cleanup
Alpine 3.24 Success
Arch Linux AUR Success
OpenBSD 7.8 Success

This commit is contained in:
2026-08-11 11:02:48 +02:00
parent 074b378f03
commit 0caab02933
+2 -4
View File
@@ -950,8 +950,7 @@ app_editor_set (const char *text)
struct utf8_iter iter = utf8_iter_make (text);
int32_t codepoint = 0;
size_t codepoint_len = 0;
while ((codepoint = utf8_iter_next (&iter, &codepoint_len)) >= 0)
while ((codepoint = utf8_iter_next (&iter, NULL)) >= 0)
app_editor_insert (codepoint);
}
@@ -2291,8 +2290,7 @@ app_on_clipboard_paste (const char *text)
struct utf8_iter iter = utf8_iter_make (text);
int32_t codepoint = 0;
size_t codepoint_len = 0;
while ((codepoint = utf8_iter_next (&iter, &codepoint_len)) >= 0)
while ((codepoint = utf8_iter_next (&iter, NULL)) >= 0)
app_editor_insert (codepoint);
xui_invalidate ();
}