Changeset 10173 for trunk/src/winmm/midi.cpp
- Timestamp:
- Jul 16, 2003, 5:47:24 PM (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/winmm/midi.cpp
r8470 r10173 1 /* $Id: midi.cpp,v 1.1 0 2002-05-22 15:50:24 sandervl Exp $ */1 /* $Id: midi.cpp,v 1.11 2003-07-16 15:47:24 sandervl Exp $ */ 2 2 3 3 /* … … 28 28 #include <wprocess.h> 29 29 30 #define DBG_LOCALLOG 30 #define DBG_LOCALLOG DBG_midi 31 31 #include "dbglocal.h" 32 32 … … 262 262 char * theMsg = getWinmmMsg( wError ); 263 263 if ( theMsg ) 264 AsciiToUnicode ( theMsg, lpText );264 AsciiToUnicodeN( theMsg, lpText, cchText ); 265 265 else 266 266 { 267 267 char errMsg[100]; 268 268 sprintf( errMsg, "Unknown error number %d", wError ); 269 AsciiToUnicode ( errMsg, lpText );269 AsciiToUnicodeN( errMsg, lpText, cchText ); 270 270 } 271 271 return MMSYSERR_NOERROR; … … 581 581 char * theMsg = getWinmmMsg( wError ); 582 582 if ( theMsg ) 583 AsciiToUnicode ( theMsg, lpText );583 AsciiToUnicodeN( theMsg, lpText, cchText ); 584 584 else 585 585 { 586 586 char errMsg[100]; 587 587 sprintf( errMsg, "Unknown error number %d", wError ); 588 AsciiToUnicode ( errMsg, lpText );588 AsciiToUnicodeN( errMsg, lpText, cchText ); 589 589 } 590 590 return MMSYSERR_NOERROR;
Note:
See TracChangeset
for help on using the changeset viewer.