summaryrefslogtreecommitdiffstats
path: root/edit.c
diff options
context:
space:
mode:
Diffstat (limited to 'edit.c')
-rw-r--r--edit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/edit.c b/edit.c
index 6fa9147f..bc748e4f 100644
--- a/edit.c
+++ b/edit.c
@@ -360,11 +360,11 @@ int mutt_builtin_editor (SEND_CONTEXT *sctx)
{
/* remove trailing whitespace from the line */
p = tmp + mutt_strlen (tmp) - 1;
- while (p >= tmp && ISSPACE (*p))
+ while (p >= tmp && IS_LOCALE_WS (*p))
*p-- = 0;
p = tmp + 2;
- SKIPWS (p);
+ SKIP_LOCALE_WS (p);
switch (tmp[1])
{