Mercurial > hg > octave-lyh
changeset 11494:a2c3c43af79e
__magick_read__: Reword error message from user's perspective.
author | David Grundberg <individ@acc.umu.se> |
---|---|
date | Wed, 12 Jan 2011 22:09:57 +0100 |
parents | a339b7a7f73b |
children | 8a5e980da6aa |
files | src/ChangeLog src/DLD-FUNCTIONS/__magick_read__.cc |
diffstat | 2 files changed, 8 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,9 @@ +2011-01-12 David Grundberg <individ@acc.umu.se> + + * DLD-FUNCTIONS/__magick_read__.cc (__magick_read__) [!HAVE_MAGICK]: + Write more verbose error message that blames on imread, not + __magick_read__. + 2011-01-12 John W. Eaton <jwe@octave.org> * DLD-FUNCTIONS/rand.cc (reset_rand_generator): Delete unused
--- a/src/DLD-FUNCTIONS/__magick_read__.cc +++ b/src/DLD-FUNCTIONS/__magick_read__.cc @@ -524,7 +524,8 @@ } #else - error ("__magick_read__: not available in this version of Octave"); + error ("imread: this installation of Octave does not support reading images." + " Image reading capabilities were disabled when this installation was compiled."); #endif