gdi16: Use boolean return value in boolean function.