Removed a few references to _itoa. It is not cross platform.

This commit is contained in:
mjbudd77 2021-10-24 18:00:38 -04:00
parent 801bd77639
commit dbc200166c
2 changed files with 4 additions and 4 deletions

View File

@ -413,8 +413,8 @@ void PLAYBACK::redrawMarkerData()
{
strcpy(new_text, upperMarkerText);
}
char num[11];
//_itoa(displayedMarkerNumber, num, 10);
char num[16];
sprintf( num, "%i", displayedMarkerNumber);
strcat(new_text, num);
strcat(new_text, " ");
//SetWindowText(hwndPlaybackMarkerNumber, new_text);

View File

@ -195,8 +195,8 @@ void SELECTION::redrawMarkerData()
char new_text[MAX_NOTE_LEN] = {0};
if (displayedMarkerNumber <= 9999) // if there's too many digits in the number then don't show the word "Marker" before the number
strcpy(new_text, lowerMarkerText);
char num[11];
//_itoa(displayedMarkerNumber, num, 10);
char num[16];
sprintf( num, "%i", displayedMarkerNumber);
strcat(new_text, num);
strcat(new_text, " ");
//SetWindowText(hwndSelectionMarkerNumber, new_text);