mirror of
				https://github.com/python-pillow/Pillow.git
				synced 2025-10-30 23:47:27 +03:00 
			
		
		
		
	one more condition on the name field
This commit is contained in:
		
							parent
							
								
									bded4abc9d
								
							
						
					
					
						commit
						2c46984ed1
					
				|  | @ -536,7 +536,7 @@ cms_profile_getattr_product_name(CmsProfileObject* self, void* closure) | |||
|     if (!PyString_Size(model) && !PyString_Size(manufacturer)){ | ||||
|         return _profile_getattr(self, cmsInfoDescription); | ||||
|     } | ||||
|     if (!PyString_Size(manufacturer)){ | ||||
|     if (!PyString_Size(manufacturer) || PyString_Size(model)> 30){ | ||||
|         return model; | ||||
|     } | ||||
|     PyString_Concat(&model, | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user