mirror of
				https://github.com/simon987/sist2.git
				synced 2025-10-30 23:46:52 +00:00 
			
		
		
		
	Minor cleanup
This commit is contained in:
		
							parent
							
								
									7c8a3e2f9d
								
							
						
					
					
						commit
						754983e34a
					
				| @ -82,7 +82,8 @@ fz_page *render_cover(fz_context *ctx, document_t *doc, fz_document *fzdoc) { | |||||||
|     fz_drop_pixmap(ctx, pixmap); |     fz_drop_pixmap(ctx, pixmap); | ||||||
| 
 | 
 | ||||||
|     if (err != 0) { |     if (err != 0) { | ||||||
|         LOG_WARNINGF(doc->filepath, "fz_new_buffer_from_pixmap_as_png() returned error code [%d] %s", err, ctx->error.message) |         LOG_WARNINGF(doc->filepath, "fz_new_buffer_from_pixmap_as_png() returned error code [%d] %s", err, | ||||||
|  |                      ctx->error.message) | ||||||
|         fz_drop_page(ctx, cover); |         fz_drop_page(ctx, cover); | ||||||
|         return NULL; |         return NULL; | ||||||
|     } |     } | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user