Commit 86d589b2 authored by Sven Baars's avatar Sven Baars Committed by Alexandre Julliard

dmusic: Fix a copy and paste error.

parent 9bf7469f
......@@ -367,7 +367,7 @@ static void create_system_ports_list(IDirectMusic8Impl* object)
port->device = i;
port->create = DMUSIC_CreateMidiOutPortImpl;
midiOutGetDevCapsW(i, &caps_out, sizeof(caps_out));
strcpyW(port->caps.wszDescription, caps_in.szPname);
strcpyW(port->caps.wszDescription, caps_out.szPname);
strcatW(port->caps.wszDescription, emulated);
port->caps.dwFlags = DMUS_PC_SHAREABLE | DMUS_PC_EXTERNAL;
port->caps.dwClass = DMUS_PC_OUTPUTCLASS;
......
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