projects
/
modest
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
401d710
)
* add comment
author
Arne Zellentin
<arne@kernelconcepts.de>
Wed, 24 May 2006 18:55:43 +0000
(18:55 +0000)
committer
Arne Zellentin
<arne@kernelconcepts.de>
Wed, 24 May 2006 18:55:43 +0000
(18:55 +0000)
pmo-trunk-r111
src/modest-text-utils.c
patch
|
blob
|
history
diff --git
a/src/modest-text-utils.c
b/src/modest-text-utils.c
index
002897d
..
875dd3d
100644
(file)
--- a/
src/modest-text-utils.c
+++ b/
src/modest-text-utils.c
@@
-66,7
+66,11
@@
get_indent_level(const char *l)
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;
return -1-indent;
} else {
return indent;