Author: tfaber
Date: Sat May 3 13:18:27 2014
New Revision: 63130
URL:
http://svn.reactos.org/svn/reactos?rev=63130&view=rev
Log:
[BEEPMIDI]
- Write MIDIOUTCAPSW::szPname in a type-safe manner. By Víctor Martínez
CORE-8154 #resolve
Modified:
trunk/reactos/dll/win32/beepmidi/beepmidi.c
Modified: trunk/reactos/dll/win32/beepmidi/beepmidi.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/beepmidi/beepmid…
==============================================================================
--- trunk/reactos/dll/win32/beepmidi/beepmidi.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/beepmidi/beepmidi.c [iso-8859-1] Sat May 3 13:18:27 2014
@@ -221,7 +221,7 @@
caps->vDriverVersion = 0x0100;
memset(caps->szPname, 0, sizeof(caps->szPname));
- memcpy(caps->szPname, L"PC speaker\0", strlen("PC speaker\0")
* 2);
+ wcscpy(caps->szPname, L"PC speaker");
caps->wTechnology = MOD_SQSYNTH;