Commit 31f4822d authored by Oleg Korshul's avatar Oleg Korshul

pdf/xps text copy bug

parent ce06172d
......@@ -1869,7 +1869,7 @@ CDocMeta.prototype =
Line1 = sel.Line1;
Line2 = sel.Line2;
if (sel.Glyph1 < sel.Glyph2 || -1 == sel.Glyph2)
if (((sel.Glyph1 != -1) && (sel.Glyph1 < sel.Glyph2)) || (-1 == sel.Glyph2))
{
Glyph1 = sel.Glyph1;
Glyph2 = sel.Glyph2;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment