summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/hardwrap/hardwrap.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/hardwrap/hardwrap.sty')
-rw-r--r--Master/texmf-dist/tex/latex/hardwrap/hardwrap.sty10
1 files changed, 5 insertions, 5 deletions
diff --git a/Master/texmf-dist/tex/latex/hardwrap/hardwrap.sty b/Master/texmf-dist/tex/latex/hardwrap/hardwrap.sty
index b8158647723..8a50abd9083 100644
--- a/Master/texmf-dist/tex/latex/hardwrap/hardwrap.sty
+++ b/Master/texmf-dist/tex/latex/hardwrap/hardwrap.sty
@@ -7,12 +7,12 @@
%% hardwrap.dtx (with options: `package')
%% ____________________________
%% The HARDWRAP package
-%% (C) 2010 Will Robertson
+%% (C) 2010-2011 Will Robertson
%% (C) 2010 Kevin Godby
%% License information appended
%%
\ProvidesPackage{hardwrap}
- [2010/11/11 v0.1 Hard wrap messages]
+ [2011/02/12 v0.2 Hard wrap messages]
\IfFileExists{ifplatform.sty}{%
\RequirePackage{ifplatform}
}{%
@@ -67,7 +67,7 @@
}
\newcommand*\HardWrap[5]{%
\begingroup
- \hw@maxprintline=#2\relax
+ \hw@maxprintline=\numexpr#2\relax
\let\space\hw@protected@space
\def\ {\space}%
\let\\\hw@insert@newline
@@ -97,10 +97,10 @@
\def\next{\afterassignment\hw@scan\let\@tempa= }%
\else\ifx\let@token\hw@insert@newline
\hw@process@messagebreak
- \def\next{\expandafter\hw@dochar\@gobble}%
+ \def\next{\expandafter\hw@scan\@gobble}%
\else\ifx\let@token^^J
\hw@process@messagebreak
- \def\next{\expandafter\hw@dochar\@gobble}%
+ \def\next{\expandafter\hw@scan\@gobble}%
\else\ifx\let@token\bgroup
\def\next{\expandafter\hw@dochar\hw@process@group}%
\else