chiark
/
gitweb
/
~mdw
/
profile
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
56e4c6c
)
bin/xzoomscr: Add missing `$' in arithmetic.
author
Mark Wooding
<mdw@distorted.org.uk>
Sat, 18 Mar 2023 14:00:59 +0000
(14:00 +0000)
committer
Mark Wooding
<mdw@distorted.org.uk>
Sat, 18 Mar 2023 14:00:59 +0000
(14:00 +0000)
POSIX requires this, though shells commonly don't.
bin/xzoomscr
patch
|
blob
|
blame
|
history
diff --git
a/bin/xzoomscr
b/bin/xzoomscr
index f8522973916b78cf0ea05d7f3e4612cc7c72cd48..6add5fa973bd9b65599f5cd8a8a7c54d81163497 100755
(executable)
--- a/
bin/xzoomscr
+++ b/
bin/xzoomscr
@@
-17,7
+17,7
@@
DISPLAY=$dpybase.$scr; export DISPLAY
eval $(xscsize -b)
-case $(( $XWIDTH % $zoom || XHEIGHT % $zoom )) in
+case $(( $XWIDTH % $zoom ||
$
XHEIGHT % $zoom )) in
0) ;;
*) echo >&2 "$0: zoom multiplier doesn't divide screen size"; exit 2 ;;
esac