Forgot a change in last commit

This commit is contained in:
Tomas Rivera
2026-04-01 11:14:30 +02:00
parent 60e10be2b1
commit 28a0e2310f
+1 -1
View File
@@ -495,7 +495,7 @@ int main(int argc, char *argv[]) {
createNewVault(notesDirectoryString, debug);
} else if (strcmp(vaultSelected,"Settings") == 0) {
// (TODO LATER) add a way to modify the path to config.json
openNvim("./config.json", debug);
openNvim(configPath, debug);
} else if (strcmp(vaultSelected,"Quit (Ctrl+C)") == 0) {
if (debug) {printf("\e[0;32m[DEBUG]\e[0m The program was exited.\n");}
shouldExit = 1;