* add comment
authorArne Zellentin <arne@kernelconcepts.de>
Wed, 24 May 2006 18:55:43 +0000 (18:55 +0000)
committerArne Zellentin <arne@kernelconcepts.de>
Wed, 24 May 2006 18:55:43 +0000 (18:55 +0000)
pmo-trunk-r111

src/modest-text-utils.c

index 002897d..875dd3d 100644 (file)
@@ -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;