Fix invalid condition
This commit is contained in:
parent
ba5b3e53e2
commit
e62f23808b
1 changed files with 1 additions and 1 deletions
2
smu.c
2
smu.c
|
@ -528,7 +528,7 @@ dosurround(const char *begin, const char *end, int newblock) {
|
|||
fputs(surround[i].before, stdout);
|
||||
|
||||
/* Single space at start and end are ignored */
|
||||
if (stop - start > 2 && *start == ' ' && *(stop - 1) == ' ') {
|
||||
if (stop - start > 1 && *start == ' ' && *(stop - 1) == ' ') {
|
||||
start++;
|
||||
stop--;
|
||||
l++;
|
||||
|
|
Loading…
Add table
Reference in a new issue