midimap: Turn variable 'throughportW' into a static constant.
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com> Signed-off-by: Andrew Eikum <aeikum@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
634637c057
commit
cd485b3252
|
@ -553,9 +553,9 @@ DWORD WINAPI MIDIMAP_modMessage(UINT wDevID, UINT wMsg, DWORD_PTR dwUser,
|
||||||
*/
|
*/
|
||||||
static LRESULT MIDIMAP_drvOpen(void)
|
static LRESULT MIDIMAP_drvOpen(void)
|
||||||
{
|
{
|
||||||
|
static const WCHAR throughportW[] = {'M','i','d','i',' ','T','h','r','o','u','g','h',0};
|
||||||
MIDIOUTCAPSW moc;
|
MIDIOUTCAPSW moc;
|
||||||
unsigned dev, i;
|
unsigned dev, i;
|
||||||
WCHAR throughportW[] = {'M','i','d','i',' ','T','h','r','o','u','g','h',0};
|
|
||||||
BOOL found_valid_port = FALSE;
|
BOOL found_valid_port = FALSE;
|
||||||
|
|
||||||
if (midiOutPorts)
|
if (midiOutPorts)
|
||||||
|
|
Loading…
Reference in New Issue