From 32d6ff62288b4fdca9842467b0e88a035b70a6fa Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Wed, 15 Apr 2015 00:48:09 +0200 Subject: doc: do not use X in icons + m MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- doc/rat-cursors/get-hotspot | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'doc/rat-cursors/get-hotspot') diff --git a/doc/rat-cursors/get-hotspot b/doc/rat-cursors/get-hotspot index bc6cc96..592affd 100755 --- a/doc/rat-cursors/get-hotspot +++ b/doc/rat-cursors/get-hotspot @@ -2,8 +2,8 @@ data="$(cat)" -y=$(echo "${data}" | grep -n @ | cut -d : -f 1) -x=$(echo "${data}" | grep -n @ | cut -d : -f 2 | sed 's/ /\n/g' | grep -n @ | cut -d : -f 1) +y=$(echo "${data}" | grep -n O | cut -d : -f 1) +x=$(echo "${data}" | grep -n O | cut -d : -f 2 | sed 's/ /\n/g' | grep -n O | cut -d : -f 1) echo x: $(expr $x - 1) echo y: $(expr $y - 1) -- cgit v1.2.3-70-g09d2