Removed a few references to _itoa. It is not cross platform.
This commit is contained in:
parent
801bd77639
commit
dbc200166c
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue