mirror of
https://github.com/brmlab/brmbar.git
synced 2025-06-08 21:33:59 +02:00
fix sign
This commit is contained in:
parent
9d4739bae0
commit
a26d1eeb95
3 changed files with 56 additions and 53 deletions
2
brmbar.c
2
brmbar.c
|
@ -102,7 +102,7 @@ void read_input()
|
||||||
last_item = -2;
|
last_item = -2;
|
||||||
printf("\n%s\n\n", items[i].name);
|
printf("\n%s\n\n", items[i].name);
|
||||||
} else
|
} else
|
||||||
if (items[i].price > 0) {
|
if (items[i].price < 0) {
|
||||||
last_item = i;
|
last_item = i;
|
||||||
printf("\n%s %d Kc\n\n", items[i].name, abs(items[i].price));
|
printf("\n%s %d Kc\n\n", items[i].name, abs(items[i].price));
|
||||||
} else
|
} else
|
||||||
|
|
43
items.txt
43
items.txt
|
@ -1,20 +1,23 @@
|
||||||
$02;Credit 20;20
|
$02;Credit 20;20
|
||||||
$05;Credit 50;50
|
$05;Credit 50;50
|
||||||
$10;Credit 100;100
|
$10;Credit 100;100
|
||||||
$20;Credit 200;200
|
$20;Credit 200;200
|
||||||
$50;Credit 500;500
|
$50;Credit 500;500
|
||||||
$1k;Credit 1000;1000
|
$1k;Credit 1000;1000
|
||||||
SHW;SHOW credit;0
|
SHW;SHOW credit;0
|
||||||
RST;RESET credit;30000
|
RST;RESET credit;30000
|
||||||
4029764001807;Club Mate 0.5L;-35
|
4029764001807;Club Mate 0.5L;-35
|
||||||
4029764001821;Club Mate 0.33L;-25
|
4029764001821;Club Mate 0.33L;-25
|
||||||
5018374350930;Tesco Baked Beans in Tomato Sauce;-20
|
5018374350930;Tesco Baked Beans in Tomato Sauce;-20
|
||||||
7622300331436;Delissa mlecna;-10
|
7622300331436;Delissa mlecna;-10
|
||||||
7622300331498;Delissa oriskova;-10
|
7622300331498;Delissa oriskova;-10
|
||||||
8593868000555;Pivo Branik 10% svetle;-25
|
8593868000555;Pivo Branik 10% svetle;-25
|
||||||
8594404000329;Pivo Gambrinus 10% svetle;-25
|
8594404000329;Pivo Gambrinus 10% svetle;-25
|
||||||
8594404001241;Pivo Radegast 10% svetle;-25
|
8594404001241;Pivo Radegast 10% svetle;-25
|
||||||
8594001021512;Matonni perliva 1,5L;-20
|
8594001021512;Matonni perliva 1,5L;-20
|
||||||
5449000000286;Coca-Cola 2L;-50
|
5449000000286;Coca-Cola 2L;-50
|
||||||
8801043263108;Shin Cup Noodle Soup;-25
|
8801043263108;Shin Cup Noodle Soup;-25
|
||||||
8934646229308;Lucky Beef Flavor;-10
|
8934646229308;Lucky Beef Flavor;-10
|
||||||
|
8594033171902;Big Shock tycinka;-15
|
||||||
|
85909311;Margot tycinka;-15
|
||||||
|
8584004041198;Tatranky;-8
|
||||||
|
|
64
people.txt
64
people.txt
|
@ -1,32 +1,32 @@
|
||||||
abyssal
|
abyssal
|
||||||
alexka
|
alexka
|
||||||
axtheb
|
axtheb
|
||||||
aym
|
aym
|
||||||
b00lean
|
b00lean
|
||||||
biiter
|
biiter
|
||||||
blami
|
blami
|
||||||
chido
|
chido
|
||||||
czestmyr
|
czestmyr
|
||||||
fissie
|
fissie
|
||||||
harvie
|
harvie
|
||||||
jenda
|
jenda
|
||||||
joe
|
joe
|
||||||
johny
|
johny
|
||||||
kubicekh
|
kubicekh
|
||||||
kxt
|
kxt
|
||||||
lui
|
lui
|
||||||
nephirus
|
nephirus
|
||||||
niekt0
|
niekt0
|
||||||
pasky
|
pasky
|
||||||
pborky
|
pborky
|
||||||
prusajr
|
prusajr
|
||||||
rainbof
|
rainbof
|
||||||
ruza
|
ruza
|
||||||
sargon
|
sargon
|
||||||
shady
|
shady
|
||||||
stevko
|
stevko
|
||||||
stick
|
stick
|
||||||
tma
|
tma
|
||||||
tomsuch
|
tomsuch
|
||||||
tutchek
|
tutchek
|
||||||
zombie
|
zombie
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue