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

Use SAFECOPY() - CID 345193

parent 2cecda8c
No related branches found
No related tags found
No related merge requests found
......@@ -1737,9 +1737,9 @@ js_new_user(JSContext *cx, uintN argc, jsval *arglist)
/* settings */
if(cfg->total_fcomps)
strcpy(user.tmpext,cfg->fcomp[0]->ext);
SAFECOPY(user.tmpext,cfg->fcomp[0]->ext);
else
strcpy(user.tmpext,supported_archive_formats[0]);
SAFECOPY(user.tmpext,supported_archive_formats[0]);
user.shell=cfg->new_shell;
user.misc=cfg->new_misc|(AUTOTERM|COLOR);
......
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