aboutsummaryrefslogtreecommitdiff
path: root/text.h
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2016-11-10 22:23:36 +0100
committerMarc André Tanner <mat@brain-dump.org>2016-11-10 22:28:36 +0100
commit835cef65fdc886bcda74a1b66649a78aa8f00d3c (patch)
tree0c193d9b3f5c1908c01e80128db72143eaa63b73 /text.h
parentd0bf693ea5c1343495d627844c9e52f63cf0cca9 (diff)
downloadvis-835cef65fdc886bcda74a1b66649a78aa8f00d3c.tar.gz
vis-835cef65fdc886bcda74a1b66649a78aa8f00d3c.tar.xz
vis-lua: change misnamed attribute values of `file.newlines`
Also rename underlying C code.
Diffstat (limited to 'text.h')
-rw-r--r--text.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/text.h b/text.h
index 392bafd..ee7dd6b 100644
--- a/text.h
+++ b/text.h
@@ -121,8 +121,8 @@ bool text_sigbus(Text*, const char *addr);
/* which type of new lines does the text use? */
enum TextNewLine {
- TEXT_NEWLINE_NL = 1,
- TEXT_NEWLINE_CRNL,
+ TEXT_NEWLINE_LF = 1,
+ TEXT_NEWLINE_CRLF,
};
enum TextNewLine text_newline_type(Text*);