aboutsummaryrefslogtreecommitdiff
path: root/sources/TZR_Init.c
diff options
context:
space:
mode:
Diffstat (limited to 'sources/TZR_Init.c')
-rw-r--r--sources/TZR_Init.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/sources/TZR_Init.c b/sources/TZR_Init.c
index ce09a3c..7f80978 100644
--- a/sources/TZR_Init.c
+++ b/sources/TZR_Init.c
@@ -62,11 +62,7 @@ _TZR_Init(const TZR_Config *config)
___tzr_next_time = SDL_GetTicks64();
}
- ___tzr_command[TZR_RES_RAW] = getenv("TZR_EDIT_RAW");
- if (___tzr_command[TZR_RES_RAW] == NULL)
- ___tzr_command[TZR_RES_RAW] = "foot nvim";
- ___tzr_command[TZR_RES_IMAGE] = getenv("TZR_EDIT_IMAGE");
- if (___tzr_command[TZR_RES_IMAGE] == NULL)
- ___tzr_command[TZR_RES_IMAGE] = "gimp";
+ if (!___tzr_config.show_cursor)
+ SDL_ShowCursor(0);
return 0;
}