Fix some indetation issues and add brackets.

modified:   src/nmseffect.c
This commit is contained in:
Brian Barto 2017-04-22 14:46:12 -04:00
parent d87094bde1
commit 733503ce3a

View File

@ -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;
} }