mirror of
https://github.com/brmlab/brmbar.git
synced 2025-06-08 13:24:01 +02:00
barcodes
This commit is contained in:
parent
4986b6c288
commit
3cbb55a2be
4 changed files with 17 additions and 14 deletions
2
brmbar.c
2
brmbar.c
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue