Update of /cvsroot/audacity/audacity-src/src In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv3446
Modified Files: Menus.cpp Log Message: Old behavior for CTRL+B when linking is off. Suggested by Gale. Index: Menus.cpp =================================================================== RCS file: /cvsroot/audacity/audacity-src/src/Menus.cpp,v retrieving revision 1.512 retrieving revision 1.513 diff -u -d -r1.512 -r1.513 --- Menus.cpp 5 Aug 2009 18:45:30 -0000 1.512 +++ Menus.cpp 7 Aug 2009 16:35:32 -0000 1.513 @@ -4845,19 +4845,17 @@ bool selfound = false; Track *t = iter.First(); while (t) { - if (t->GetSelected()) { - selfound = true; - if (t->GetKind() == Track::Label) { - lt = (LabelTrack *)t; - break; - } - } - else if (selfound) { - if (t->GetKind() == Track::Label) { - lt = (LabelTrack *)t; + if (t->GetKind() == Track::Label) { + if (selfound || t->GetSelected()) { + lt = (LabelTrack *) t; break; } + else if (!IsSticky()) + lt = (LabelTrack *) t; } + else if (t->GetSelected()) + selfound = true; + t = iter.Next(); } ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Audacity-cvs mailing list Audacity-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/audacity-cvs