From 9231c4efcf41b9ca86b2d3da28a865412d82282a Mon Sep 17 00:00:00 2001
From: Christian Schenk <cs@miktex.org>
Date: Tue, 9 Apr 2019 20:11:31 +0200
Subject: [PATCH] TL sync

---
 CHANGELOG.md                                        | 2 +-
 Programs/TeXAndFriends/luatex/luatex-version.h      | 2 +-
 Programs/TeXAndFriends/luatex/source/tex/printing.c | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index f75e3f1f4..2b706b3ca 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,6 +1,6 @@
 # MiKTeX Change Log
 
-## 2.9.7000 - 2019-04-08
+## 2.9.7000 - 2019-04-10
 
 ### Upgraded programs
 
diff --git a/Programs/TeXAndFriends/luatex/luatex-version.h b/Programs/TeXAndFriends/luatex/luatex-version.h
index 23554236f..40fa6b7d0 100644
--- a/Programs/TeXAndFriends/luatex/luatex-version.h
+++ b/Programs/TeXAndFriends/luatex/luatex-version.h
@@ -17,7 +17,7 @@
    Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307,
    USA.  */
 
-#define MIKTEX_COMP_J2000_VERSION 7021
+#define MIKTEX_COMP_J2000_VERSION 7038
 
 #define MIKTEX_COMP_ORIG_VERSION_STR "1.10.0"
 
diff --git a/Programs/TeXAndFriends/luatex/source/tex/printing.c b/Programs/TeXAndFriends/luatex/source/tex/printing.c
index 3735ae315..5687fb523 100644
--- a/Programs/TeXAndFriends/luatex/source/tex/printing.c
+++ b/Programs/TeXAndFriends/luatex/source/tex/printing.c
@@ -416,7 +416,7 @@ void tprint(const char *sss)
 {
     char *buffer = NULL;
     int i = 0;
-    int newlinechar = new_line_char_par;
+    int newlinechar = (lua_only == 1) ? 10 : new_line_char_par;
     int dolog = 0;
     int doterm = 0;
     switch (selector) {