X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=fish%2Fmore.c;h=a32d5b41b8b8063b7f7470d77f65bf85f24b9b40;hp=8bc9d95bb9ce1af0e5120fd22b3bc9f23e435f9d;hb=9e397cc16be51f4f3940c7a5b90d0bc43f3f13a8;hpb=19a1382fc9317ab88cdbf1dde76a8015868af51d diff --git a/fish/more.c b/fish/more.c index 8bc9d95..a32d5b4 100644 --- a/fish/more.c +++ b/fish/more.c @@ -1,5 +1,5 @@ /* guestfish - the filesystem interactive shell - * Copyright (C) 2009 Red Hat Inc. + * Copyright (C) 2009 Red Hat Inc. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -42,7 +42,7 @@ do_more (const char *cmd, int argc, char *argv[]) } /* Choose a pager. */ - if (strcasecmp (cmd, "less") == 0) + if (STRCASEEQ (cmd, "less")) pager = "less"; else { pager = getenv ("PAGER");