forked from speedie/spmenu
Some small changes to update FIFO
This commit is contained in:
parent
bd455c2673
commit
fa9130ef0b
10
libs/fifo.c
10
libs/fifo.c
|
@ -29,12 +29,16 @@ void execute_fifo_cmd(void) {
|
||||||
* by outputting text to the FIFO.
|
* by outputting text to the FIFO.
|
||||||
*/
|
*/
|
||||||
if (!strcmp(fifot, "drawmenu")) {
|
if (!strcmp(fifot, "drawmenu")) {
|
||||||
drawmenu();
|
if (!sp.isdrawing) {
|
||||||
|
drawmenu();
|
||||||
|
}
|
||||||
} else if (!strcmp(fifot, "match")) {
|
} else if (!strcmp(fifot, "match")) {
|
||||||
match();
|
match();
|
||||||
} else if (!strcmp(fifot, "update")) {
|
} else if (!strcmp(fifot, "update")) {
|
||||||
match();
|
if (!sp.isdrawing) {
|
||||||
drawmenu();
|
match();
|
||||||
|
drawmenu();
|
||||||
|
}
|
||||||
} else if (!strcmp(fifot, "test")) {
|
} else if (!strcmp(fifot, "test")) {
|
||||||
fprintf(stderr, "Test print\n");
|
fprintf(stderr, "Test print\n");
|
||||||
} else if (!strcmp(fifot, "die")) {
|
} else if (!strcmp(fifot, "die")) {
|
||||||
|
|
Loading…
Reference in a new issue