mirror of
				https://github.com/vdr-projects/vdr.git
				synced 2025-03-01 10:50:46 +00:00 
			
		
		
		
	The character 0x8A in CAM menu strings is now mapped to a real newline
This commit is contained in:
		
							
								
								
									
										3
									
								
								HISTORY
									
									
									
									
									
								
							
							
						
						
									
										3
									
								
								HISTORY
									
									
									
									
									
								
							@@ -3850,7 +3850,7 @@ Video Disk Recorder Revision History
 | 
			
		||||
  Alexander Rieger).
 | 
			
		||||
- Made the function ExchangeChars() public (suggested by Lucian Muresan).
 | 
			
		||||
 | 
			
		||||
2005-10-02: Version 1.3.34
 | 
			
		||||
2005-10-03: Version 1.3.34
 | 
			
		||||
 | 
			
		||||
- Fixed a leftover 'summary.vdr' in vdr.5 (thanks to Peter Bieringer for reporting
 | 
			
		||||
  this one).
 | 
			
		||||
@@ -3882,3 +3882,4 @@ Video Disk Recorder Revision History
 | 
			
		||||
  menu has been requested.
 | 
			
		||||
- Speeded up initial opening of the CAM menu.
 | 
			
		||||
- Fixed handling of menus with no selectable items.
 | 
			
		||||
- The character 0x8A in CAM menu strings is now mapped to a real newline.
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										4
									
								
								ci.c
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								ci.c
									
									
									
									
									
								
							@@ -4,7 +4,7 @@
 | 
			
		||||
 * See the main source file 'vdr.c' for copyright information and
 | 
			
		||||
 * how to reach the author.
 | 
			
		||||
 *
 | 
			
		||||
 * $Id: ci.c 1.33 2005/10/02 15:06:07 kls Exp $
 | 
			
		||||
 * $Id: ci.c 1.34 2005/10/03 10:32:51 kls Exp $
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
#include "ci.h"
 | 
			
		||||
@@ -101,6 +101,8 @@ static char *CopyString(int Length, const uint8_t *Data)
 | 
			
		||||
  char *s = MALLOC(char, Length + 1);
 | 
			
		||||
  strncpy(s, (char *)Data, Length);
 | 
			
		||||
  s[Length] = 0;
 | 
			
		||||
  // The character 0x8A is used as newline, so let's put a real '\n' in there:
 | 
			
		||||
  strreplace(s, 0x8A, '\n');
 | 
			
		||||
  return s;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user