changeset 28128:c1ca9b6903cd

maint: merge stable to default.
author John W. Eaton <jwe@octave.org>
date Fri, 21 Feb 2020 17:17:29 -0500
parents 1188addabaad (current diff) 9413b3d56e00 (diff)
children 712cd23aaa4f
files
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/miscellaneous/what.m	Fri Feb 21 17:15:40 2020 -0500
+++ b/scripts/miscellaneous/what.m	Fri Feb 21 17:17:29 2020 -0500
@@ -163,7 +163,7 @@
       if (isfile (fullfile (dir, nm)))
         w.oct{end+1} = nm;
       endif
-    elseif (strcmp (e, mexext ()))
+    elseif (strcmp (e, ['.' mexext]))
       if (isfile (fullfile (dir, nm)))
         w.mex{end+1} = nm;
       endif