Mercurial > octave
diff libinterp/corefcn/graphics.in.h @ 22910:23847979b91e
maint: Strip trailing whitespace from source files.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Fri, 16 Dec 2016 10:20:35 -0500 |
parents | f75d289645ec |
children | b69e39c3e200 |
line wrap: on
line diff
--- a/libinterp/corefcn/graphics.in.h Fri Dec 16 10:56:23 2016 -0500 +++ b/libinterp/corefcn/graphics.in.h Fri Dec 16 10:20:35 2016 -0500 @@ -1177,7 +1177,7 @@ base_property* clone (void) const { return new double_property (*this); } void add_constraint (const std::string& type, double val, bool inclusive) - { + { if (type == "min") minval = std::pair<double, bool> (val, inclusive); else if (type == "max") @@ -2677,8 +2677,8 @@ void insert_static_property (const std::string& name, base_property& p) { insert_property (name, property (&p, true)); } - virtual void init (void) - { + virtual void init (void) + { uicontextmenu.add_constraint ("uicontextmenu"); } };