summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin Watts <robin.watts@artifex.com>2012-07-03 15:12:35 +0100
committerRobin Watts <robin.watts@artifex.com>2012-07-04 10:40:19 +0100
commitb002d99ce2d6eec36e886067e87f983d7f2e0c54 (patch)
tree3bc62509fd4ceb6ef62cb75f287fb3c294fb7015
parent12799e9be77c85eba11f70523d6ca9112266adae (diff)
downloadmupdf-b002d99ce2d6eec36e886067e87f983d7f2e0c54.tar.xz
Tweak mubusy so it responds to 'pdfclean' as well as 'mupdfclean' etc.
-rw-r--r--apps/mubusy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/mubusy.c b/apps/mubusy.c
index b520d0ec..e11d488c 100644
--- a/apps/mubusy.c
+++ b/apps/mubusy.c
@@ -58,7 +58,7 @@ int main(int argc, char **argv)
{
strcpy(buf, "mupdf");
strcat(buf, tools[i].name);
- if (namematch(end, start, buf))
+ if (namematch(end, start, buf) || namematch(end, start, buf+2))
return tools[i].func(argc, argv);
}
}