summaryrefslogtreecommitdiff
path: root/hplip-bad-low-ink-warning.patch
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2024-08-05 02:45:17 +0000
committerCoprDistGit <infra@openeuler.org>2024-08-05 02:45:17 +0000
commit92ff4cdf8c84e91584dd6076aa5b3c774ab0a622 (patch)
tree6ba01d84d85f00b380477077d920c341c3570b09 /hplip-bad-low-ink-warning.patch
parentd8ce4006ffe8011c16c265205aa330c52a0de0c1 (diff)
automatic import of hplipopeneuler24.03_LTS
Diffstat (limited to 'hplip-bad-low-ink-warning.patch')
-rw-r--r--hplip-bad-low-ink-warning.patch39
1 files changed, 39 insertions, 0 deletions
diff --git a/hplip-bad-low-ink-warning.patch b/hplip-bad-low-ink-warning.patch
new file mode 100644
index 0000000..bd51d64
--- /dev/null
+++ b/hplip-bad-low-ink-warning.patch
@@ -0,0 +1,39 @@
+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)
+ {