Don't try to print a NULL pointer.
authorJim Meyering <jim@meyering.net>
Thu, 1 Nov 2001 10:43:23 +0000 (10:43 +0000)
committerJim Meyering <jim@meyering.net>
Thu, 1 Nov 2001 10:43:23 +0000 (10:43 +0000)
(main): Don't use ARGMATCH_TO_ARGUMENT.
This reverts part of the 1998-12-31 change.

src/ls.c

index 1e3e0e705b41045e83c205a74d320cdc9d6b277a..01549d94177a6c04a52839ab7e13011ad4a7a8fd 100644 (file)
--- 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 */