Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
KDE:KDE3
muse
muse-gcc47.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File muse-gcc47.patch of Package muse
diff -wruN muse-1.1.orig/muse/ctrl/ctrlpanel.cpp muse-1.1/muse/ctrl/ctrlpanel.cpp --- muse-1.1.orig/muse/ctrl/ctrlpanel.cpp 2010-07-06 00:39:37.000000000 +0400 +++ muse-1.1/muse/ctrl/ctrlpanel.cpp 2012-04-26 23:24:02.582675270 +0400 @@ -549,12 +549,12 @@ continue; } } - isList i = sList.begin(); - for (; i != sList.end(); ++i) { - if (i->s == c->name()) + isList k = sList.begin(); + for (; k != sList.end(); ++k) { + if (k->s == c->name()) break; } - if (i == sList.end()) { + if (k == sList.end()) { bool used = false; for (iPart ip = parts->begin(); ip != parts->end(); ++ip) { EventList* el = ip->second->events(); diff -wruN muse-1.1.orig/muse/liste/editevent.cpp muse-1.1/muse/liste/editevent.cpp --- muse-1.1.orig/muse/liste/editevent.cpp 2010-01-08 19:58:23.000000000 +0300 +++ muse-1.1/muse/liste/editevent.cpp 2012-04-26 22:07:21.555590214 +0400 @@ -593,12 +593,12 @@ continue; } MidiController* c = port->midiController(num); - isList i = sList.begin(); - for (; i != sList.end(); ++i) { - if (*i == c->name()) + isList k = sList.begin(); + for (; k != sList.end(); ++k) { + if (*k == c->name()) break; } - if (i == sList.end()) + if (k == sList.end()) sList.push_back(c->name()); } MidiController* mc = port->midiController(num);
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor