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

Use return value of datestr() for PCMS/Baja DATESTR function

Similar bug fix as that just made to system.datestr()
parent d8c0c531
No related branches found
No related tags found
No related merge requests found
Pipeline #7766 passed
...@@ -567,8 +567,7 @@ int sbbs_t::exec_misc(csi_t* csi, const char *path) ...@@ -567,8 +567,7 @@ int sbbs_t::exec_misc(csi_t* csi, const char *path)
lp=getintvar(csi,*(int32_t *)csi->ip); lp=getintvar(csi,*(int32_t *)csi->ip);
csi->ip+=4; /* Skip int variable name */ csi->ip+=4; /* Skip int variable name */
if(pp && lp) { if(pp && lp) {
datestr(*lp, str); *pp=copystrvar(csi,*pp,datestr(*lp, str));
*pp=copystrvar(csi,*pp,str);
} }
return(0); return(0);
case SECOND_STR: case SECOND_STR:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment