Skip to content
Snippets Groups Projects
Commit 827fdbe4 authored by Luigi Scarso's avatar Luigi Scarso
Browse files

(trunk) fixed a bug in internal string lenght for texluac (many thanks to A. Kakuto)

parent e71d42e8
Branches
Tags
No related merge requests found
......@@ -285,7 +285,7 @@ static void PrintString(const TString* ts)
n=ts->tsv.len;
#endif
#if (LUA_VERSION_NUM == 503)
n=ts->u.lnglen;
n=(ts->tt == LUA_TSHRSTR ? ts->shrlen : ts->u.lnglen);
#endif
printf("%c",'"');
for (i=0; i<n; i++)
......
#define luatex_svn_revision 6634
#define luatex_svn_revision 6635
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment