summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--desktop/save_text.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop/save_text.c b/desktop/save_text.c
index 916567717..18e565489 100644
--- a/desktop/save_text.c
+++ b/desktop/save_text.c
@@ -31,7 +31,7 @@ void save_as_text(struct content *c, char *path) {
return;
}
- out = fopen(path, "w+");
+ out = fopen(path, "w");
if (!out) return;
toSave = htmlCreateMemoryParserCtxt(c->source_data, c->source_size);