mirror of
				https://github.com/Rockbox/rockbox.git
				synced 2025-10-26 23:36:37 -04:00 
			
		
		
		
	Revert "Fix cuesheet printf truncation"
This reverts commit c332180afd.
Change-Id: Ic7a85a0fe82cd13514e85011e0a5cbd79ec36c2b
			
			
This commit is contained in:
		
							parent
							
								
									c332180afd
								
							
						
					
					
						commit
						021124f868
					
				
					 1 changed files with 2 additions and 3 deletions
				
			
		|  | @ -364,9 +364,8 @@ void browse_cuesheet(struct cuesheet *cue) | |||
|     struct cuesheet_file cue_file; | ||||
|     struct mp3entry *id3 = audio_current_track(); | ||||
| 
 | ||||
| 	int remaining = 0; | ||||
|     snprintf(title, sizeof(title), "%s: %n%.*s", cue->performer,  | ||||
| 					&remaining, MAX_PATH - remaining, cue->title); | ||||
|     snprintf(title, sizeof(title), "%s: %.*s", cue->performer,  | ||||
| 					MAX_PATH - strlen(cue->performer) - 3, cue->title); | ||||
| 
 | ||||
|     gui_synclist_init(&lists, list_get_name_cb, cue, false, 2, NULL); | ||||
|     gui_synclist_set_nb_items(&lists, 2*cue->track_count); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue