summaryrefslogtreecommitdiff
path: root/src/gmdocument.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gmdocument.c')
-rw-r--r--src/gmdocument.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gmdocument.c b/src/gmdocument.c
index 4d1aa876..0a7f3b38 100644
--- a/src/gmdocument.c
+++ b/src/gmdocument.c
@@ -852,7 +852,7 @@ static void normalize_GmDocument(iGmDocument *d) {
852 if (d->format == plainText_GmDocumentFormat) { 852 if (d->format == plainText_GmDocumentFormat) {
853 isPreformat = iTrue; /* Cannot be turned off. */ 853 isPreformat = iTrue; /* Cannot be turned off. */
854 } 854 }
855 const int preTabWidth = 8; /* TODO: user-configurable parameter */ 855 const int preTabWidth = 4; /* TODO: user-configurable parameter */
856 while (nextSplit_Rangecc(src, "\n", &line)) { 856 while (nextSplit_Rangecc(src, "\n", &line)) {
857 if (isPreformat) { 857 if (isPreformat) {
858 /* Replace any tab characters with spaces for visualization. */ 858 /* Replace any tab characters with spaces for visualization. */