From 835cef65fdc886bcda74a1b66649a78aa8f00d3c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Thu, 10 Nov 2016 22:23:36 +0100 Subject: vis-lua: change misnamed attribute values of `file.newlines` Also rename underlying C code. --- text.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'text.h') 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*); -- cgit v1.2.3