Changeset 108 for trunk/classes/mm-progs
- Timestamp:
- Oct 4, 2023, 6:18:02 PM (23 months ago)
- Location:
- trunk/classes/mm-progs
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/classes/mm-progs/MMPlayer/mmplayer.c
r104 r108 944 944 if(lPos/1000!=lLastPos) { 945 945 /* Prevent flickering */ 946 sprintf(chrCommand, "%l u:%02lu", lPos/1000/60, (lPos/1000)%60);946 sprintf(chrCommand, "%li:%02li", lPos/1000/60, (lPos/1000)%60); 947 947 WinSetWindowText(WinWindowFromID(hwnd, IDST_MMPLAYERPLAYTIME), chrCommand); 948 948 lLastPos=lPos/1000; … … 1017 1017 1018 1018 if((fealist=malloc(0x00010000L /* Add some space */ 1019 ))==NULL HANDLE)1019 ))==NULL) 1020 1020 return FALSE; 1021 1021 -
trunk/classes/mm-progs/MMPlayer/playaudio.c
r104 r108 147 147 148 148 if(bIsMidi) 149 strncpy(chrDevice,"SEQUENCER", sizeof(chrDevice) );149 strncpy(chrDevice,"SEQUENCER", sizeof(chrDevice) - 1); 150 150 else 151 strncpy(chrDevice,"WAVEAUDIO", sizeof(chrDevice) );151 strncpy(chrDevice,"WAVEAUDIO", sizeof(chrDevice) - 1); 152 152 153 153 hwndNotify=hwndFrame;//WinWindowFromID(hwndTop, IDDLG_TOPMIDDLE); -
trunk/classes/mm-progs/videoplayer/mmplayer.c
r104 r108 954 954 if(lPos/1000!=lLastPos) { 955 955 /* Prevent flickering */ 956 sprintf(chrCommand, "% d:%02d", lPos/1000/60, (lPos/1000)%60);956 sprintf(chrCommand, "%li:%02li", lPos/1000/60, (lPos/1000)%60); 957 957 WinSetWindowText(WinWindowFromID(hwnd, IDST_MMPLAYERPLAYTIME), chrCommand); 958 958 lLastPos=lPos/1000; … … 1027 1027 1028 1028 if((fealist=malloc(0x00010000L /* Add some space */ 1029 ))==NULL HANDLE)1029 ))==NULL) 1030 1030 return FALSE; 1031 1031
Note:
See TracChangeset
for help on using the changeset viewer.