Lagrange [work/v1.13]

Terminal: Console-specific preferences file

=> aedfa4ec19acb16c0f47726cb064a06ad4a7a4ec

diff --git a/src/app.c b/src/app.c
index c2d778bb..89c60698 100644
--- a/src/app.c
+++ b/src/app.c
@@ -117,10 +117,12 @@ static const char *defaultDataDir_App_ = "~/config/settings/lagrange";
 #define EMB_BIN_EXEC "../resources.lgr" /* fallback from build/executable dir */
 #if defined (iPlatformTerminal)
 #   define STATE_NAME "cstate" /* separate for console since it's a different environment */
+#   define PREFS_NAME "cprefs"
 #else
 #   define STATE_NAME "state"
+#   define PREFS_NAME "prefs"
 #endif
-static const char *prefsFileName_App_      = "prefs.cfg";
+static const char *prefsFileName_App_      = PREFS_NAME ".cfg";
 static const char *oldStateFileName_App_   = STATE_NAME ".binary";
 static const char *stateFileName_App_      = STATE_NAME ".lgr";
 static const char *tempStateFileName_App_  = STATE_NAME ".lgr.tmp";
Proxy Information
Original URL
gemini://git.skyjake.fi/lagrange/work%2Fv1.13/cdiff/aedfa4ec19acb16c0f47726cb064a06ad4a7a4ec
Status Code
Success (20)
Meta
text/gemini; charset=utf-8
Capsule Response Time
68.592058 milliseconds
Gemini-to-HTML Time
0.231248 milliseconds

This content has been proxied by September (ba2dc).