wok annotate hplip/stuff/hplip-3.9.4b-glibc210.u @ rev 12562

zbar: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Apr 28 18:23:39 2012 +0200 (2012-04-28)
parents
children
rev   line source
jozee@3470 1 --- prnt/hpijs/registry.cpp.orig 2009-04-29 22:41:07.000000000 +0200
jozee@3470 2 +++ prnt/hpijs/registry.cpp 2009-06-02 14:17:09.000000000 +0200
jozee@3470 3 @@ -292,7 +292,7 @@ DRIVER_ERROR DeviceRegistry::SelectDevic
jozee@3470 4 device = eDJ3320;
jozee@3470 5 match = TRUE;
jozee@3470 6 }
jozee@3470 7 - char *cmdStr = strstr ((const char *) DevIDBuffer+2, "CMD:");
jozee@3470 8 + const char *cmdStr = strstr ((const char *) DevIDBuffer+2, "CMD:");
jozee@3470 9 if (!cmdStr)
jozee@3470 10 {
jozee@3470 11 cmdStr = strstr ((const char *) DevIDBuffer+2, "COMMAND SET:");
jozee@3470 12 --- prnt/hpijs/dj3320.cpp.orig 2009-04-29 22:41:07.000000000 +0200
jozee@3470 13 +++ prnt/hpijs/dj3320.cpp 2009-06-02 14:32:21.000000000 +0200
jozee@3470 14 @@ -429,7 +429,7 @@ DISPLAY_STATUS DJ3320::ParseError (BYTE
jozee@3470 15 pLDLEncap->bNewStatus = FALSE;
jozee@3470 16
jozee@3470 17 // First 10 bytes of m_pbyReadBuff are packet header. Status query from printer has $S:
jozee@3470 18 - if ((pcStr = strstr((const char*)pLDLEncap->byStatusBuff + 10, "$S:")) == NULL)
jozee@3470 19 + if ((pcStr = strstr((char*)pLDLEncap->byStatusBuff + 10, "$S:")) == NULL)
jozee@3470 20 {
jozee@3470 21 m_dsCurrentStatus = DISPLAY_COMM_PROBLEM;
jozee@3470 22 return DISPLAY_COMM_PROBLEM;