mirror of
https://github.com/n05la3/cmdtypist
synced 2024-11-05 21:20:23 +00:00
added function to replace a space char in a name with |
This commit is contained in:
parent
65ee79f8c5
commit
1337c8435e
@ -793,3 +793,19 @@ void accounts_create(void)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/*Searching the name for space to replace with |*/
|
||||
void name_modify(char *name)
|
||||
{
|
||||
u=0;
|
||||
while(u<=15)
|
||||
{
|
||||
if(name[u]==' ')//searching for ' ' in the name string
|
||||
{
|
||||
name[u]='|';//and replacing with |
|
||||
break;
|
||||
}
|
||||
u++;
|
||||
}
|
||||
strcat(name,".");
|
||||
}
|
Loading…
Reference in New Issue
Block a user