Changeset 142 for trunk/mediafolder/c/mediafldr/mediafolder.cpp
- Timestamp:
- Jan 21, 2024, 10:17:50 PM (19 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/mediafolder/c/mediafldr/mediafolder.cpp
r133 r142 768 768 769 769 if(contentObject->somIsA(mmMIDIClass)) 770 strncpy(chrDevice,"SEQUENCER", sizeof(chrDevice) );770 strncpy(chrDevice,"SEQUENCER", sizeof(chrDevice) - 1); 771 771 else /*if(contentObject->somIsA(cwAudioClass) || contentObject->somIsA(mmAudioClass))*/ 772 772 strncpy(chrDevice,"WAVEAUDIO", sizeof(chrDevice)); … … 1080 1080 1081 1081 if(contentObject->somIsA(mmMIDIClass)) 1082 strncpy(chrDevice,"SEQUENCER", sizeof(chrDevice) );1082 strncpy(chrDevice,"SEQUENCER", sizeof(chrDevice) - 1); 1083 1083 else /*if(contentObject->somIsA(cwAudioClass) || contentObject->somIsA(mmAudioClass))*/ 1084 1084 strncpy(chrDevice,"WAVEAUDIO", sizeof(chrDevice));
Note:
See TracChangeset
for help on using the changeset viewer.