From 4d2b88d0e7e2ef2ef90875c3e891154da6fd0fff Mon Sep 17 00:00:00 2001 From: Quinn Date: Wed, 17 Sep 2025 17:12:45 +0200 Subject: [PATCH] fix: windows roaming path should also be applied to USERPROFILE done from mobile --- test/test_conf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_conf.c b/test/test_conf.c index f9807f6..7b9dc70 100644 --- a/test/test_conf.c +++ b/test/test_conf.c @@ -116,7 +116,7 @@ void test_conf_getpat(void) { /* test with setting USERPROFILE */ _putenv("USERPROFILE=C:\\Users\\test"); path = conf_getpat("\\mypath"); - assert_true(path != NULL && strcmp(path, "C:\\Users\\test\\mypath") == 0); + assert_true(path != NULL && strcmp(path, "C:\\Users\\test\\AppData\\Roaming\\mypath") == 0); free(path); /* test with setting APPDATA */