whoops, removed part of a string by accident.

This commit is contained in:
charmlesscoin 2013-08-03 01:27:20 -04:00
parent bb2ea0e5b4
commit 9b6283c084

View File

@ -90,7 +90,7 @@ void print_friendlist()
char fstring[MAX_NAME_LENGTH + strlen("[i] Friend: NULL\n\tid: ")]; char fstring[MAX_NAME_LENGTH + strlen("[i] Friend: NULL\n\tid: ")];
if (strlen(name) <= 0) { if (strlen(name) <= 0) {
sprintf(fstring, "[i] Friend: !\n\tid: %i", i); sprintf(fstring, "[i] Friend: No Friend!\n\tid: %i", i);
} else { } else {
sprintf(fstring, "[i] Friend: %s\n\tid: %i", (uint8_t*)name, i); sprintf(fstring, "[i] Friend: %s\n\tid: %i", (uint8_t*)name, i);
} }