mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-27 02:14:18 +00:00
Add initial .clang-tidy and fixes
This commit is contained in:
@@ -75,13 +75,15 @@ unsigned char LegoROI::CallTheHandlerFunction(
|
||||
)
|
||||
{
|
||||
// TODO
|
||||
if (p_param == NULL)
|
||||
if (p_param == NULL) {
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
if (g_someHandlerFunction) {
|
||||
char buf[32];
|
||||
if (g_someHandlerFunction(p_param, buf, 32))
|
||||
if (g_someHandlerFunction(p_param, buf, 32)) {
|
||||
p_param = buf;
|
||||
}
|
||||
}
|
||||
|
||||
return ColorAliasLookup(p_param, p_red, p_green, p_blue, p_other);
|
||||
|
||||
Reference in New Issue
Block a user