diff options
Diffstat (limited to 'sdl/platform.c')
| -rw-r--r-- | sdl/platform.c | 6 | 
1 files changed, 3 insertions, 3 deletions
| diff --git a/sdl/platform.c b/sdl/platform.c index c4e11ca..7ed4f99 100644 --- a/sdl/platform.c +++ b/sdl/platform.c @@ -104,10 +104,10 @@ int load_config(struct platform *p)      if (!p)          return -1; -    if (luaLoadConfig(p->L, "config.lua") || -        luaFillTablePlatform(p->L, &p->config_table) != -1) +    if ((luaLoadConfig(p->L, "config.lua") | +        luaFillTablePlatform(p->L, &p->config_table)) != -1)      { -        /* print was was loaded from config.lua to stdout */ +        /* print what was loaded from config.lua to stdout */          luaPrintTablePlatform(&p->config_table);          /* override any globals that config.lua redefines */ | 
