requested by Laurent Pages: Indeed the smartcard detection on Windows does not work properly; refs #22

master
Marc Wäckerlin 12 years ago
parent 701b0a3939
commit 49ff530497
  1. 3
      src/pcsc.hxx

@ -536,8 +536,7 @@ namespace pcsc {
//! @c false if last operation was not successful //! @c false if last operation was not successful
operator bool() const { operator bool() const {
//return (_state>>30&3)==0; return (_state>>30&3)==0;
return _state==SCARD_S_SUCCESS;
} }
//! Get the describing text of the last error //! Get the describing text of the last error

Loading…
Cancel
Save