mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-25 07:57:43 +01:00
Fix silly careless errors.
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@4134 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
5c4601c08a
commit
4b8fb7e081
4 changed files with 4 additions and 7 deletions
|
|
@ -305,10 +305,7 @@ AutomationTimeAxisView::set_height (uint32_t h)
|
|||
bool changed_between_small_and_normal = ( (h == hSmall || h == hSmaller) ^ (height == hSmall || height == hSmaller) );
|
||||
|
||||
TimeAxisView* state_parent = get_parent_with_state ();
|
||||
XMLNode* xml_node;
|
||||
if (state_parent) {
|
||||
xml_node = state_parent->get_child_xml_node (_state_name);
|
||||
}
|
||||
XMLNode* xml_node = (state_parent ? state_parent->get_child_xml_node (_state_name) : NULL);
|
||||
|
||||
TimeAxisView::set_height (h);
|
||||
base_rect->property_y2() = h;
|
||||
|
|
|
|||
|
|
@ -1615,7 +1615,7 @@ gnome_canvas_waveview_draw (GnomeCanvasItem *item,
|
|||
double origin;
|
||||
double clip_length;
|
||||
double xoff;
|
||||
double yoff;
|
||||
double yoff = 0.0;
|
||||
double ulx;
|
||||
double uly;
|
||||
double lrx;
|
||||
|
|
|
|||
|
|
@ -4644,7 +4644,7 @@ Editor::toggle_region_opaque ()
|
|||
void
|
||||
Editor::toggle_record_enable ()
|
||||
{
|
||||
bool new_state;
|
||||
bool new_state = false;
|
||||
bool first = true;
|
||||
for (TrackSelection::iterator i = selection->tracks.begin(); i != selection->tracks.end(); ++i) {
|
||||
RouteTimeAxisView *rtav = dynamic_cast<RouteTimeAxisView *>(*i);
|
||||
|
|
|
|||
|
|
@ -1151,7 +1151,7 @@ EngineControl::set_state (const XMLNode& root)
|
|||
XMLNodeList clist;
|
||||
XMLNodeConstIterator citer;
|
||||
XMLNode* child;
|
||||
XMLProperty* prop;
|
||||
XMLProperty* prop = NULL;
|
||||
bool using_dummy = false;
|
||||
|
||||
int val;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue