Mercurial > mxe-octave
view src/of-io-1-fixes.patch @ 4243:a40ff07ce987
of-io: add patch file for error from 2.4.5 release of io package.
* src/of-io-1-fixes.patch: new file
* dist-files.mk: add of-io-1-fixes.patch
author | John D |
---|---|
date | Mon, 14 Nov 2016 05:06:13 -0500 |
parents | |
children |
line wrap: on
line source
diff -ur io-2.4.5.orig/inst/private/__OCT_xlsx2oct__.m io-2.4.5/inst/private/__OCT_xlsx2oct__.m --- orig/inst/private/__OCT_xlsx2oct__.m 2016-11-08 22:05:13.000000000 +0100 +++ src/inst/private/__OCT_xlsx2oct__.m 2016-11-12 21:43:52.076390219 +0100 @@ -196,7 +196,7 @@ vals = ctext(vals); ids = cellfun (@isempty, vals); if (any (ids)) - vals {find (ids)} = ""; + vals(ids) = {""}; endif ## Cell addresses valraws = cell2mat (regexp (rawdata, '<c r="(\w+)"(?: s="\d+")? t="s"><v(?:.*?)>\d+</v>', "tokens"));