[Pcsclite-cvs-commit] r6148 - /trunk/pcsc-tools/gscriptor
rousseau at users.alioth.debian.org
rousseau at users.alioth.debian.org
Sun Dec 18 12:44:40 UTC 2011
Author: rousseau
Date: Sun Dec 18 12:44:40 2011
New Revision: 6148
URL: http://svn.debian.org/wsvn/pcsclite/?sc=1&rev=6148
Log:
Display bytes of value 0x20 as ' ' instead of '.'
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=6148&op=diff
==============================================================================
--- trunk/pcsc-tools/gscriptor (original)
+++ trunk/pcsc-tools/gscriptor Sun Dec 18 12:44:40 2011
@@ -657,7 +657,7 @@
# TODO: how can we use array_to_ascii here??? maybe
# enhence the function so it can directly receive
# ranges of chars to ignore optionally?
- if (($tmp_value > 0x20) && ($tmp_value < 0x80)) {
+ if (($tmp_value >= 0x20) && ($tmp_value < 0x80)) {
$tmp_text .= chr ($tmp_value);
} else {
$tmp_text .= ".";
More information about the Pcsclite-cvs-commit
mailing list