Fix some indetation issues and add brackets.
modified: src/nmseffect.c
This commit is contained in:
parent
d87094bde1
commit
733503ce3a
@ -138,11 +138,14 @@ char nmseffect_exec(char *string) {
|
|||||||
|
|
||||||
// Set flag if we have a whitespace character
|
// Set flag if we have a whitespace character
|
||||||
if (strlen(list_pointer->source) == 1 && isspace(list_pointer->source[0])) {
|
if (strlen(list_pointer->source) == 1 && isspace(list_pointer->source[0])) {
|
||||||
|
|
||||||
// If flag is enabled, mask blank spaces as well
|
// If flag is enabled, mask blank spaces as well
|
||||||
if (maskBlank && (list_pointer->source[0] == ' '))
|
if (maskBlank && (list_pointer->source[0] == ' ')) {
|
||||||
list_pointer->is_space = 0;
|
list_pointer->is_space = 0;
|
||||||
else
|
} else {
|
||||||
list_pointer->is_space = 1;
|
list_pointer->is_space = 1;
|
||||||
|
}
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
list_pointer->is_space = 0;
|
list_pointer->is_space = 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user