mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
whoops, removed part of a string by accident.
This commit is contained in:
parent
bb2ea0e5b4
commit
9b6283c084
|
@ -90,7 +90,7 @@ void print_friendlist()
|
|||
char fstring[MAX_NAME_LENGTH + strlen("[i] Friend: NULL\n\tid: ")];
|
||||
|
||||
if (strlen(name) <= 0) {
|
||||
sprintf(fstring, "[i] Friend: !\n\tid: %i", i);
|
||||
sprintf(fstring, "[i] Friend: No Friend!\n\tid: %i", i);
|
||||
} else {
|
||||
sprintf(fstring, "[i] Friend: %s\n\tid: %i", (uint8_t*)name, i);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user