summaryrefslogtreecommitdiff
path: root/ui.c
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2024-02-13 09:58:16 -0500
committerpommicket <pommicket@gmail.com>2024-02-13 09:58:16 -0500
commit176f0b1f52676bbcf61e5098e5cec400d52fc306 (patch)
tree7ab4e0bd76745ed2d84050d414637e1b72d41cb5 /ui.c
parent6d85a7e605011d16018fdf202e40e59e2f916b63 (diff)
auto-detect indentation
Diffstat (limited to 'ui.c')
-rw-r--r--ui.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ui.c b/ui.c
index 995c631..2af72fa 100644
--- a/ui.c
+++ b/ui.c
@@ -501,9 +501,9 @@ static bool file_selector_cd(Ted *ted, FileSelector *fs, const char *path) {
static ColorSetting color_setting_for_file_type(FsType type) {
switch (type) {
- case FS_FILE: return COLOR_TEXT;
- case FS_DIRECTORY: return COLOR_TEXT_FOLDER;
- default: return COLOR_TEXT_OTHER;
+ case FS_FILE: return COLOR_TEXT;
+ case FS_DIRECTORY: return COLOR_TEXT_FOLDER;
+ default: return COLOR_TEXT_OTHER;
}
}