pkgsrc-wip/rosegarden-current/patches/patch-aa
Chapman Flack e00e6b87c9 Merge FLACK_BRANCH (rosegarden-4-0.9.1 with MIDI working via aRts)
quoth the maintainer: "You have my green light"
2006-02-15 22:20:40 +00:00

13 lines
467 B
Text

$NetBSD: patch-aa,v 1.2 2006/02/15 22:20:41 jcflack Exp $
--- base/Studio.C.orig 2003-05-31 06:13:07.000000000 -0500
+++ base/Studio.C
@@ -568,7 +568,7 @@ Studio::getAudioPreviewInstrument()
bool
Studio::haveMidiDevices() const
{
- Rosegarden::DeviceListIterator it = m_devices.begin();
+ Rosegarden::DeviceListConstIterator it = m_devices.begin();
for (; it != m_devices.end(); it++)
{
if ((*it)->getType() == Device::Midi) return true;