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

Using mnemonic with @-codes for DoYouMeanThisUserQ text.dat string

parent 390cb6dd
Branches
Tags
1 merge request!455Update branch with changes from master
Pipeline #6362 passed
......@@ -71,8 +71,11 @@ uint sbbs_t::finduser(const char* name, bool silent_failure)
return((l/(LEN_ALIAS+2))+1);
}
if(pass==2 && strcasestr(buf, name)) {
bprintf(text[DoYouMeanThisUserQ], buf
char tmp[256];
char str[256];
snprintf(tmp, sizeof tmp, expand_atcodes(text[DoYouMeanThisUserQ], str, sizeof str), buf
,(uint)(l/(LEN_ALIAS+2))+1);
mnemonics(tmp);
c=(char)getkeys(ynq,0);
if(sys_status&SS_ABORT) {
fclose(stream);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment