diff options
author | Karl Berry <karl@freefriends.org> | 2019-04-09 15:33:50 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2019-04-09 15:33:50 +0000 |
commit | c6c4a2d8b3ba4c364f8a8f3d29db36a378092ec6 (patch) | |
tree | 157701fc116d5ad922e3ef22cb32a34e5a7439ca /Build/source | |
parent | d59ca3715c3a0ef7db5d01666e53f1e63e7053fc (diff) |
avoid mixed statement/decls
git-svn-id: svn://tug.org/texlive/trunk@50882 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source')
-rw-r--r-- | Build/source/texk/web2c/luatexdir/tex/printing.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/Build/source/texk/web2c/luatexdir/tex/printing.c b/Build/source/texk/web2c/luatexdir/tex/printing.c index 58311066d58..70bf1fc4148 100644 --- a/Build/source/texk/web2c/luatexdir/tex/printing.c +++ b/Build/source/texk/web2c/luatexdir/tex/printing.c @@ -416,11 +416,7 @@ void tprint(const char *sss) { char *buffer = NULL; int i = 0; - int newlinechar; - if (lua_only == 1) - newlinechar = 10; - else - newlinechar = new_line_char_par; + int newlinechar = (lua_only == 1) ? 10 : new_line_char_par; int dolog = 0; int doterm = 0; switch (selector) { |