This commit is contained in:
Pavol Rusnak 2011-04-22 05:31:21 +02:00
parent 4986b6c288
commit 3cbb55a2be
4 changed files with 17 additions and 14 deletions

View file

@ -110,7 +110,7 @@ void read_input()
// scan people
for (i = 0; i < people_count; ++i) {
if (!strncmp( buf, people[i], strlen(people[i]) )) {
if (!strncmp( buf, people[i], 3 )) {
printf("\nMember %s ", people[i]);
if (last_item == -1) {
balance = modify_credit(people[i], 0);