summaryrefslogtreecommitdiff
path: root/src/windows/read_cfg.c
diff options
context:
space:
mode:
authorLouie Shprung <lshprung@tutanota.com>2024-08-04 17:19:08 -0400
committerLouie Shprung <lshprung@tutanota.com>2024-08-04 17:19:08 -0400
commita23c315905c126667f13091989ca2879b5337582 (patch)
tree23eb508647bf90ca18282df2ab2c9cf1f3661bbd /src/windows/read_cfg.c
parente1754801f53842c289e8c75cd29ce239693f0c19 (diff)
Hello lua
Diffstat (limited to 'src/windows/read_cfg.c')
-rw-r--r--src/windows/read_cfg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/windows/read_cfg.c b/src/windows/read_cfg.c
index f973759..9fa721b 100644
--- a/src/windows/read_cfg.c
+++ b/src/windows/read_cfg.c
@@ -20,7 +20,7 @@ char *find_config(){
char choices[check_count][BUF_LEN];
int i;
- sprintf(choices[0], "%s%cterminal-media-launcher%cconfig", appdata, sep, sep);
+ sprintf(choices[0], "%s%cterminal-media-launcher%cconfig.lua", appdata, sep, sep);
for(i = 0; i < check_count; i++){
strcpy(path, choices[i]);
@@ -72,7 +72,7 @@ void mkconfig_wizard(char *path){
sprintf(path, "%s%cterminal-media-launcher%c", appdata, sep, sep);
mkdir(path);
- sprintf(path, "%s%cterminal-media-launcher%cconfig", appdata, sep, sep);
+ sprintf(path, "%s%cterminal-media-launcher%cconfig.lua", appdata, sep, sep);
//open file for writing, make sure non-NULL
fp = fopen(path, "w");