aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile2
-rw-r--r--exec/key-handler2
-rw-r--r--main.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 84d1ce2..d41d6b8 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-VERSION := git-20170107
+VERSION := git-20170213
PREFIX := /usr/local
MANPREFIX := $(PREFIX)/share/man
diff --git a/exec/key-handler b/exec/key-handler
index 439ab2e..dd4d1bb 100644
--- a/exec/key-handler
+++ b/exec/key-handler
@@ -18,7 +18,7 @@ readonly TMPFILE="/tmp/sxiv.$$"
rotate() {
degree="$1"
- tr '\n' \0' | xargs -0 realpath | sort | uniq | while read file; do
+ tr '\n' '\0' | xargs -0 realpath | sort | uniq | while read file; do
case "$(file -b -i "$file")" in
image/jpeg*) jpegtran -rotate "$degree" -copy all -outfile "$file" "$file" ;;
*) mogrify -rotate "$degree" "$file" ;;
diff --git a/main.c b/main.c
index f1ac14a..d903c7b 100644
--- a/main.c
+++ b/main.c
@@ -548,7 +548,7 @@ void run_key_handler(const char *key, unsigned int mask)
f++;
}
}
- /* drop user input events that occured while running the key handler */
+ /* drop user input events that occurred while running the key handler */
while (XCheckIfEvent(win.env.dpy, &dump, is_input_ev, NULL));
end: