40 lines
1.5 KiB
Diff
40 lines
1.5 KiB
Diff
diff -up hplip-3.9.10/prnt/hpijs/dj9xxvip.cpp.bad-low-ink-warning hplip-3.9.10/prnt/hpijs/dj9xxvip.cpp
|
|
--- hplip-3.9.10/prnt/hpijs/dj9xxvip.cpp.bad-low-ink-warning 2009-11-26 14:30:31.325303260 +0000
|
|
+++ hplip-3.9.10/prnt/hpijs/dj9xxvip.cpp 2009-11-26 14:31:10.125303367 +0000
|
|
@@ -2222,7 +2222,7 @@ DRIVER_ERROR DJ9xxVIP::CheckInkLevel()
|
|
{
|
|
case '5':
|
|
{
|
|
- if ((*(pStr+1) & 0xf3) > 1)
|
|
+ if ((*(pStr+1) & 0xf3) > '1')
|
|
{
|
|
if (err != NO_ERROR)
|
|
{
|
|
@@ -2237,7 +2237,7 @@ DRIVER_ERROR DJ9xxVIP::CheckInkLevel()
|
|
}
|
|
case '6':
|
|
{
|
|
- if ((*(pStr+1) & 0xf3) > 1)
|
|
+ if ((*(pStr+1) & 0xf3) > '1')
|
|
{
|
|
if (err != NO_ERROR)
|
|
{
|
|
@@ -2252,7 +2252,7 @@ DRIVER_ERROR DJ9xxVIP::CheckInkLevel()
|
|
}
|
|
case '7':
|
|
{
|
|
- if ((*(pStr+1) & 0xf3) > 1)
|
|
+ if ((*(pStr+1) & 0xf3) > '1')
|
|
{
|
|
if (err != NO_ERROR)
|
|
{
|
|
@@ -2268,7 +2268,7 @@ DRIVER_ERROR DJ9xxVIP::CheckInkLevel()
|
|
}
|
|
case '8':
|
|
{
|
|
- if ((*(pStr+1) & 0xf3) > 1)
|
|
+ if ((*(pStr+1) & 0xf3) > '1')
|
|
{
|
|
if (err != NO_ERROR)
|
|
{
|