OPTIMIZATION: Browser loading optimization

This commit is contained in:
boreddevnl
2026-03-22 18:55:55 +01:00
parent 4c46650c64
commit ec2a9d1883
5 changed files with 14 additions and 22 deletions

View File

@@ -715,7 +715,7 @@ static void explorer_load_directory(Window *win, const char *path) {
explorer_strcpy(state->items[temp_count].name, entries[i].name);
state->items[temp_count].is_directory = entries[i].is_directory;
state->items[temp_count].size = entries[i].size;
state->items[temp_count].color = entries[i].is_directory ? COLOR_APPLE_BLUE : COLOR_APPLE_YELLOW;
state->items[temp_count].color = entries[i].is_directory ? COLOR_BLUE : COLOR_YELLOW;
temp_count++;
}