Good guess, but its the other way round. In C the boolean value FALSE is represented by 0, any other value is TRUE
=> if (x) is equivalent to if (x != 0)