view src/of-struct-2-devfixes.patch @ 4957:6a321b868d57

of-control: Updates for default Octave (bug #55670). * of-control-1-deprecated.patch: Cherry pick more upstream patches.
author Markus Mützel <markus.muetzel@gmx.de>
date Mon, 11 Feb 2019 23:40:23 +0100
parents 9cf8d7a723d7
children
line wrap: on
line source

diff -ur struct-1.0.15.orig/src/structcat.cc struct-1.0.15/src/structcat.cc
--- struct-1.0.15.orig/src/structcat.cc	2019-01-02 12:23:45.625511373 -0500
+++ struct-1.0.15/src/structcat.cc	2019-01-02 12:25:21.571914227 -0500
@@ -132,7 +132,7 @@
 
   for (octave_idx_type i = m1_id; i < n_args; i++)
     {
-      if (! args(i).is_map ())
+      if (! args(i).isstruct ())
         {
           error ("%s: some argument not a structure", fname.c_str ());