From 70de9efb9205d641bcc984c9ea26ee41d917fd5c Mon Sep 17 00:00:00 2001
From: "Rob Swindell (on Windows 11)" <rob@synchro.net>
Date: Mon, 3 Mar 2025 18:06:09 -0800
Subject: [PATCH] Update data/user/*.ini section name for storing recent save
 path for msg sub

---
 src/sbbs3/readmsgs.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/sbbs3/readmsgs.cpp b/src/sbbs3/readmsgs.cpp
index 92b947428c..d725251b01 100644
--- a/src/sbbs3/readmsgs.cpp
+++ b/src/sbbs3/readmsgs.cpp
@@ -1292,7 +1292,7 @@ int sbbs_t::scanposts(int subnum, int mode, const char *find)
 							{
 								char section[128];
 								const char* key = "savepath";
-								SAFEPRINTF(section, "%s.sub", cfg.sub[subnum]->code);
+								SAFEPRINTF(section, "sub %s", cfg.sub[subnum]->code);
 								user_get_property(&cfg, useron.number, section, key, savepath, sizeof(savepath) - 1);
 								if (getstr(savepath, sizeof(savepath) - 1, K_EDIT | K_LINE | K_AUTODEL) > 0) {
 									if (msgtotxt(&smb, &msg, savepath, /* header: */ true, /* mode: */ GETMSGTXT_ALL))
-- 
GitLab