Mercurial > octave-nkf
diff scripts/image/image_viewer.m @ 10635:d1978e7364ad
Print name of function in error() string messages.
author | Rik <octave@nomad.inbox5.com> |
---|---|
date | Sun, 16 May 2010 22:26:54 -0700 |
parents | 2c01d24459fb |
children | 693e22af08ae |
line wrap: on
line diff
--- a/scripts/image/image_viewer.m Sun May 16 18:28:59 2010 -0700 +++ b/scripts/image/image_viewer.m Sun May 16 22:26:54 2010 -0700 @@ -157,7 +157,7 @@ ## Did the system call fail? if (status != 0) - error ("the image viewing command failed"); + error ("image_viewer: the image viewing command failed"); endif endfunction