mirror of
				https://github.com/johnwhitington/cpdf-source.git
				synced 2025-06-05 22:09:39 +02:00 
			
		
		
		
	more
This commit is contained in:
		
							
								
								
									
										2
									
								
								cpdf.ml
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								cpdf.ml
									
									
									
									
									
								
							| @@ -3484,7 +3484,7 @@ let get_xmp_info pdf name = | |||||||
| (* Set XMP info *) | (* Set XMP info *) | ||||||
| let rec set_xml_field kind fieldname value = function | let rec set_xml_field kind fieldname value = function | ||||||
|   D data -> D data |   D data -> D data | ||||||
| | E (((n, n'), m), [D _]) when n = kind && n' = fieldname -> | | E (((n, n'), m), _ (*[D _]*)) when n = kind && n' = fieldname -> | ||||||
|     E (((n, n'), m), [D value]) |     E (((n, n'), m), [D value]) | ||||||
| | E (x, ts) -> E (x, List.map (set_xml_field kind fieldname value) ts) | | E (x, ts) -> E (x, List.map (set_xml_field kind fieldname value) ts) | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user