Skip to content
Snippets Groups Projects
Commit d70b482e authored by deuce's avatar deuce
Browse files

Prettier User List (Now shows Deleted and Inactive)

parent bf05ec5e
No related branches found
No related tags found
No related merge requests found
......@@ -1732,11 +1732,11 @@ int main(int argc, char** argv) {
for(i=1; i<=last; i++) {
user.number=i;
getuserdat(&cfg,&user);
sprintf(opt[i-1],"%s (%s)",user.name,user.alias);
sprintf(opt[i-1],"%1.1s%1.1s %-25.25s %-25.25s",user.misc&DELETED?"*":" ",user.misc&INACTIVE?"*":" ",user.name,user.alias);
}
opt[i-1][0]=0;
i=0;
switch(uifc.list(WIN_ORG|WIN_MID|WIN_ACT,0,0,0,&i,0,"Select User",opt)) {
switch(uifc.list(WIN_ORG|WIN_MID|WIN_ACT,0,0,0,&i,0,"DI Real Name Alias ",opt)) {
case -1:
done=1;
break;
......
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