From 788fb20656c8450a3f2da8b3f8b1905242103193 Mon Sep 17 00:00:00 2001 From: Xavier Del Campo Romero Date: Sun, 16 Nov 2025 00:36:51 +0100 Subject: WIP TCP/SIO --- plugins/dfnet/gui.c | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'plugins/dfnet/gui.c') diff --git a/plugins/dfnet/gui.c b/plugins/dfnet/gui.c index 85d0871f..746f34a6 100644 --- a/plugins/dfnet/gui.c +++ b/plugins/dfnet/gui.c @@ -15,6 +15,8 @@ #include "cfg.c" +Config conf; + void cfgSysMessage(const char *fmt, ...) { GtkWidget *MsgDlg; va_list list; @@ -220,16 +222,16 @@ int main(int argc, char *argv[]) { return 0; } - if (strcmp(argv[1], "about") != 0 && - strcmp(argv[1], "configure") != 0 && - strcmp(argv[1], "open") != 0 && - strcmp(argv[1], "wait") != 0 && - strcmp(argv[1], "pause") != 0 && + if (strcmp(argv[1], "about") != 0 && + strcmp(argv[1], "configure") != 0 && + strcmp(argv[1], "open") != 0 && + strcmp(argv[1], "wait") != 0 && + strcmp(argv[1], "pause") != 0 && strcmp(argv[1], "message") != 0) { printf ("Usage: cfgDFNet {about | configure | open | wait | pause | message}\n"); return 0; } - + if(argc > 1) { if (!strcmp(argv[1], "configure")) { CFGconfigure(); -- cgit v1.2.3