From 3eeda5b2bf0fbe367829f2c1decb5ae3360bcf63 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Thu, 1 Nov 2001 10:43:23 +0000 Subject: [PATCH] Don't try to print a NULL pointer. (main): Don't use ARGMATCH_TO_ARGUMENT. This reverts part of the 1998-12-31 change. --- src/ls.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/ls.c b/src/ls.c index 1e3e0e705b..01549d9417 100644 --- a/src/ls.c +++ b/src/ls.c @@ -1001,8 +1001,7 @@ main (int argc, char **argv) dired_dump_obstack ("//DIRED//", &dired_obstack); dired_dump_obstack ("//SUBDIRED//", &subdired_obstack); printf ("//DIRED-OPTIONS// --quoting-style=%s\n", - ARGMATCH_TO_ARGUMENT (filename_quoting_options, - quoting_style_args, quoting_style_vals)); + quoting_style_args[get_quoting_style (filename_quoting_options)]); } /* Restore default color before exiting */ -- 2.47.3