paint: cleanup

This commit is contained in:
luboslenco
2026-06-05 20:34:10 +02:00
parent 2d140020b9
commit 31d0a37734
59 changed files with 874 additions and 912 deletions
+2 -2
View File
@@ -2,11 +2,11 @@
#include "../global.h"
void save_image_node_run(ui_node_t *node, gpu_texture_t *result) {
if (string_equals(project_filepath, "")) {
if (string_equals(g_project->_->filepath, "")) {
return;
}
char *dir = substring(project_filepath, 0, string_last_index_of(project_filepath, PATH_SEP) + 1);
char *dir = substring(g_project->_->filepath, 0, string_last_index_of(g_project->_->filepath, PATH_SEP) + 1);
i32 n = 1;
char *file;
do {