X-Git-Url: https://plomlompom.com/repos/?a=blobdiff_plain;f=src%2Fclient%2Fwindows.c;h=2fd51313405e1c4d9ebedaa33ff1273e4947be4a;hb=37fb9ef76174a83e27dd27a3250f4be5542e7452;hp=e5c691d5c1e4305197487bb40ed871e17f29f666;hpb=273a2b16c82a26b8f6592cfe08162d5714738108;p=plomrogue diff --git a/src/client/windows.c b/src/client/windows.c index e5c691d..2fd5131 100644 --- a/src/client/windows.c +++ b/src/client/windows.c @@ -625,7 +625,7 @@ extern uint8_t read_winconf_from_file(char * line, uint32_t linemax, { char * f_name = "read_winconf_from_file()"; int test = try_fgetc(file, f_name); - if (EOF == test) + if (EOF == test || '\n' == test) { return 0; }