From 2d380e0214da31293488ccae3aea8f22b7d7b476 Mon Sep 17 00:00:00 2001 From: Arne Zellentin Date: Wed, 24 May 2006 18:55:43 +0000 Subject: [PATCH] * add comment pmo-trunk-r111 --- src/modest-text-utils.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/modest-text-utils.c b/src/modest-text-utils.c index 002897d..875dd3d 100644 --- a/src/modest-text-utils.c +++ b/src/modest-text-utils.c @@ -66,7 +66,11 @@ get_indent_level(const char *l) l++; } - if (strcmp("-- ", l) == 0) { + + /* if we hit the signature marker "-- ", we return -(indent + 1). This + * stops reformatting. + */ + if (strcmp(l, "-- ") == 0) { return -1-indent; } else { return indent; -- 1.7.9.5