changeset 24068:0d7a7fc657ff

scripts/image/private/imageIO.m: put filename between quotes in error message * scripts/image/private/imageIO.m: having the filename between quotes on an error message helps in identifying trailing whitespace on the filename.
author Carnë Draug <carandraug@octave.org>
date Thu, 21 Sep 2017 16:56:01 +0100
parents 5b88383b9a69
children f8b8a8e6bd79
files scripts/image/private/imageIO.m
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/image/private/imageIO.m	Thu Sep 21 11:15:43 2017 -0400
+++ b/scripts/image/private/imageIO.m	Thu Sep 21 16:56:01 2017 +0100
@@ -70,7 +70,7 @@
   endif
 
   if (isempty (fn))
-    error ([func ": unable to find file " filename]);
+    error ([func ": unable to find file '" filename "'"]);
   endif
 
   ## unwind_protect block because we may have a file to remove in the end