summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Pégourié-Gonnard <mpg@elzevir.fr>2010-11-06 04:38:42 +0100
committerManuel Pégourié-Gonnard <mpg@elzevir.fr>2010-11-11 15:52:24 +0100
commit900ebe50a07224f56f212e0846fa3597f83a1545 (patch)
treee40a11201b4687dfe6bce36e5a80b7ccf9bc598b
parentbbaca2c7d33013bb3e9ae36c2e21ef50120eab41 (diff)
downloadluatexbase-900ebe50a07224f56f212e0846fa3597f83a1545.tar.gz
newline at end of messages
-rw-r--r--luatexbase-modutils.dtx2
1 files changed, 1 insertions, 1 deletions
diff --git a/luatexbase-modutils.dtx b/luatexbase-modutils.dtx
index 054d80d..67ad0fe 100644
--- a/luatexbase-modutils.dtx
+++ b/luatexbase-modutils.dtx
@@ -443,7 +443,7 @@ end
local function msg_format(msg_type, mod_name, ...)
local cont = '('..mod_name..')' .. ('Module: '..msg_type):gsub('.', ' ')
return 'Module '..mod_name..' '..msg_type..': '
- .. string.format(...):gsub('\n', '\n'..cont)
+ .. string.format(...):gsub('\n', '\n'..cont) .. '\n'
end
local function module_error_int(mod, ...)
error(msg_format('error', mod, ...), 3)