comparison scripts/image/private/__imwrite__.m @ 21142:a3362dd2dd52 stable

doc: fix spelling of "unknown". * etc/OLD-ChangeLogs/doc-ChangeLog, libinterp/dldfcn/__magick_read__.cc, scripts/image/private/__imwrite__.m: fix spelling of "unknown".
author Rafael Laboissiere <rafael@laboissiere.net>
date Wed, 27 Jan 2016 11:22:58 +0100
parents e9f89866074c
children 76e0ef020dae
comparison
equal deleted inserted replaced
21116:ba3c66f4e1ca 21142:a3362dd2dd52
98 options.disposalmethod = tolower (options.disposalmethod); 98 options.disposalmethod = tolower (options.disposalmethod);
99 matches = ismember (options.disposalmethod, 99 matches = ismember (options.disposalmethod,
100 {"donotspecify", "leaveinplace", ... 100 {"donotspecify", "leaveinplace", ...
101 "restorebg", "restoreprevious"}); 101 "restorebg", "restoreprevious"});
102 if (any (! matches)) 102 if (any (! matches))
103 error ("imwrite: unknow method %s for option %s", 103 error ("imwrite: unknown method %s for option %s",
104 options.disposalmethod{find (! matches, 1)}, 104 options.disposalmethod{find (! matches, 1)},
105 param_list{idx}); 105 param_list{idx});
106 endif 106 endif
107 if (isscalar (options.disposalmethod)) 107 if (isscalar (options.disposalmethod))
108 options.disposalmethod = repmat (options.disposalmethod, ... 108 options.disposalmethod = repmat (options.disposalmethod, ...