paint: cleanup

This commit is contained in:
luboslenco
2026-03-07 21:12:59 +01:00
parent 313378a923
commit 0e41ccbfa5
189 changed files with 4736 additions and 4488 deletions
+2 -2
View File
@@ -11,8 +11,8 @@ slot_brush_t *slot_brush_create(ui_node_canvas_t *c) {
}
}
if (c == null) {
if (slot_brush_default_canvas == null) { // Synchronous
if (c == NULL) {
if (slot_brush_default_canvas == NULL) { // Synchronous
buffer_t *b = data_get_blob("default_brush.arm");
gc_unroot(slot_brush_default_canvas);
slot_brush_default_canvas = b;