Commit cd485b32 authored by Alex Henrie's avatar Alex Henrie Committed by Alexandre Julliard

midimap: Turn variable 'throughportW' into a static constant.

parent 634637c0
...@@ -553,9 +553,9 @@ DWORD WINAPI MIDIMAP_modMessage(UINT wDevID, UINT wMsg, DWORD_PTR dwUser, ...@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment