diff --git a/com.github.dimkr.gplaces.appdata.xml b/com.github.dimkr.gplaces.appdata.xml index 5066484..4942cc0 100644 --- a/com.github.dimkr.gplaces.appdata.xml +++ b/com.github.dimkr.gplaces.appdata.xml @@ -39,6 +39,14 @@ Dima Krasner + + +
    +
  • Fix for crash handler ends with %u
  • +
+
+
+
    diff --git a/gplaces.c b/gplaces.c index 0a859dc..6186a88 100644 --- a/gplaces.c +++ b/gplaces.c @@ -663,7 +663,7 @@ static pid_t start_handler(const char *handler, const char *filename, char *comm } for (i = 0; *handler && i < length - 1; ) { - if (handler[0] == '%' && handler[i] != '\0') { + if (handler[0] == '%' && handler[1] != '\0') { const char *append = ""; switch (handler[1]) { case '%': append = "%"; break;