formating code
This commit is contained in:
parent
7142787995
commit
2d81a8fe7a
18 changed files with 170 additions and 181 deletions
|
@ -51,7 +51,7 @@ static bool g_lua_initialized = false;
|
|||
Driver *g_driver = NULL;
|
||||
|
||||
static bool parseBoolStr(const char *val) {
|
||||
if (val == NULL || val[0] == 0)
|
||||
if (!val || val[0] == 0)
|
||||
return false;
|
||||
|
||||
switch (val[0]) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue