mirror of
https://github.com/labwc/labwc.git
synced 2025-11-06 13:29:58 -05:00
CodeStyle
This commit is contained in:
parent
e0264e471c
commit
d9cef42721
5 changed files with 16 additions and 8 deletions
|
|
@ -18,8 +18,9 @@ mousebind_button_from_str(const char *str, uint32_t *modifiers)
|
|||
while (strlen(str) >= 2 && str[1] == '-') {
|
||||
char modname[2] = {str[0], 0};
|
||||
uint32_t parsed_modifier = parse_modifier(modname);
|
||||
if (!parsed_modifier)
|
||||
if (!parsed_modifier) {
|
||||
goto invalid;
|
||||
}
|
||||
*modifiers |= parsed_modifier;
|
||||
str += 2;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue