3b7ae335f3
The content of this branch was automatically imported from Fedora ELN with the following as its source: https://src.fedoraproject.org/rpms/hplip#7cb6f648cdb35a0f018b511d10b516d6d9e4d638
40 lines
1.5 KiB
Diff
40 lines
1.5 KiB
Diff
diff -up hplip-3.10.5/prnt/hpijs/dj9xxvip.cpp.bad-low-ink-warning hplip-3.10.5/prnt/hpijs/dj9xxvip.cpp
|
|
--- hplip-3.10.5/prnt/hpijs/dj9xxvip.cpp.bad-low-ink-warning 2010-05-13 01:48:58.000000000 +0200
|
|
+++ hplip-3.10.5/prnt/hpijs/dj9xxvip.cpp 2010-05-17 14:56:31.000000000 +0200
|
|
@@ -2239,7 +2239,7 @@ DRIVER_ERROR DJ9xxVIP::CheckInkLevel()
|
|
{
|
|
case '5':
|
|
{
|
|
- if ((*(pStr+1) & 0xf3) > 1)
|
|
+ if ((*(pStr+1) & 0xf3) > '1')
|
|
{
|
|
if (err != NO_ERROR)
|
|
{
|
|
@@ -2254,7 +2254,7 @@ DRIVER_ERROR DJ9xxVIP::CheckInkLevel()
|
|
}
|
|
case '6':
|
|
{
|
|
- if ((*(pStr+1) & 0xf3) > 1)
|
|
+ if ((*(pStr+1) & 0xf3) > '1')
|
|
{
|
|
if (err != NO_ERROR)
|
|
{
|
|
@@ -2269,7 +2269,7 @@ DRIVER_ERROR DJ9xxVIP::CheckInkLevel()
|
|
}
|
|
case '7':
|
|
{
|
|
- if ((*(pStr+1) & 0xf3) > 1)
|
|
+ if ((*(pStr+1) & 0xf3) > '1')
|
|
{
|
|
if (err != NO_ERROR)
|
|
{
|
|
@@ -2285,7 +2285,7 @@ DRIVER_ERROR DJ9xxVIP::CheckInkLevel()
|
|
}
|
|
case '8':
|
|
{
|
|
- if ((*(pStr+1) & 0xf3) > 1)
|
|
+ if ((*(pStr+1) & 0xf3) > '1')
|
|
{
|
|
if (err != NO_ERROR)
|
|
{
|