diff options
Diffstat (limited to 'src/gmdocument.c')
-rw-r--r-- | src/gmdocument.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gmdocument.c b/src/gmdocument.c index 7fddc575..313fd40a 100644 --- a/src/gmdocument.c +++ b/src/gmdocument.c | |||
@@ -432,6 +432,9 @@ static void doLayout_GmDocument_(iGmDocument *d) { | |||
432 | meta.flags = constValue_Array(oldPreMeta, preIndex, iGmPreMeta).flags & | 432 | meta.flags = constValue_Array(oldPreMeta, preIndex, iGmPreMeta).flags & |
433 | folded_GmPreMetaFlag; | 433 | folded_GmPreMetaFlag; |
434 | } | 434 | } |
435 | else if (prefs->collapsePreOnLoad) { | ||
436 | meta.flags |= folded_GmPreMetaFlag; | ||
437 | } | ||
435 | pushBack_Array(&d->preMeta, &meta); | 438 | pushBack_Array(&d->preMeta, &meta); |
436 | continue; | 439 | continue; |
437 | } | 440 | } |