[Pcsclite-cvs-commit] r6147 - /trunk/pcsc-tools/gscriptor

rousseau at users.alioth.debian.org rousseau at users.alioth.debian.org
Sun Dec 18 12:43:47 UTC 2011


Author: rousseau
Date: Sun Dec 18 12:43:45 2011
New Revision: 6147

URL: http://svn.debian.org/wsvn/pcsclite/?sc=1&rev=6147
Log:
Display hex dumps in lines of 16 bytes instead of 17

Thanks to Alain SAURAT for the patch

Modified:
    trunk/pcsc-tools/gscriptor

Modified: trunk/pcsc-tools/gscriptor
URL: http://svn.debian.org/wsvn/pcsclite/trunk/pcsc-tools/gscriptor?rev=6147&op=diff
==============================================================================
--- trunk/pcsc-tools/gscriptor (original)
+++ trunk/pcsc-tools/gscriptor Sun Dec 18 12:43:45 2011
@@ -644,7 +644,7 @@
 				my $c = 0;
 				for (@$tmpLine) {
 					$tmp_text .= sprintf ("%02X ", $_);
-					if ($c++ == 16)
+					if (++$c == 16)
 					{
 						$tmp_text .= "\n";
 						$c = 0;




More information about the Pcsclite-cvs-commit mailing list