octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #37290] gnuplot / demo plotyy followed by somb


From: Dan Sebald
Subject: [Octave-bug-tracker] [bug #37290] gnuplot / demo plotyy followed by sombrero errors out
Date: Thu, 16 May 2013 19:53:31 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:18.0) Gecko/20100101 Firefox/18.0 SeaMonkey/2.15

Follow-up Comment #22, bug #37290 (project octave):

I was thinking it was something that simple, but it is slightly more
difficult.  The "new_defaults" in the general function:


static void
reset_default_properties (property_list& default_properties)
{
  property_list new_defaults;


can't tell where it is supposed to be getting its settings from.  So I think
this needs to be broadened to something like


static void
reset_default_properties (property_list& default_properties, const
property_list& factory_defaults)
{


and factory_defaults plays the roll of what new_defaults was supposed to be
doing.  That would mean using the contrapositive for the conditional test,
i.e., copy all settings onto default_properties except those that are supposed
to remain the same.

I'll have a patch in a couple hours.


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?37290>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]