Skip to content
Snippets Groups Projects
Commit 70de9efb authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Update data/user/*.ini section name for storing recent save path for msg sub

parent b7f87914
Branches
Tags
No related merge requests found
Pipeline #8612 passed
......@@ -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))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment