paint: merge gc remove

This commit is contained in:
luboslenco
2026-08-21 22:35:41 +02:00
parent 4c77755da0
commit eb25ff4f46
213 changed files with 3104 additions and 2920 deletions
+3 -1
View File
@@ -21,6 +21,8 @@ void operator_update() {
operator_run(op);
}
}
array_free(keys);
free(keys);
}
}
@@ -34,7 +36,7 @@ bool operator_shortcut(char *s, shortcut_type_t type) {
bool flag = shift == keyboard_down("shift") && ctrl == keyboard_down("control") && alt == keyboard_down("alt");
if (string_index_of(s, "+") > 0) {
s = string_copy(substring(s, string_last_index_of(s, "+") + 1, string_length(s)));
s = s + string_last_index_of(s, "+") + 1;
if (string_equals(s, "number")) {
return flag;
}