set x index to 0 instead 1
This commit is contained in:
parent
a4cb8e85c7
commit
e5121d7cf1
1 changed files with 2 additions and 2 deletions
|
@ -151,9 +151,9 @@ test -z $W && W=640
|
||||||
test -z $H && H=480
|
test -z $H && H=480
|
||||||
test -z $COLOR && COLOR="666999"
|
test -z $COLOR && COLOR="666999"
|
||||||
echo "drawing $W x $H - $COLOR" >&2
|
echo "drawing $W x $H - $COLOR" >&2
|
||||||
for x in $(seq 1 $W)
|
for x in $(seq 0 $W)
|
||||||
do
|
do
|
||||||
for y in $(seq 1 $H)
|
for y in $(seq 0 $H)
|
||||||
do
|
do
|
||||||
echo "PX $x $y $COLOR"
|
echo "PX $x $y $COLOR"
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in a new issue