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; | ||||||
|     } |     } | ||||||
| @ -129,8 +130,8 @@ int read_stext_block(fz_stext_block *block, text_buffer_t *tex) { | |||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| void fill_image(fz_context *ctx, UNUSED(fz_device *dev), | void fill_image(fz_context *ctx, UNUSED(fz_device *dev), | ||||||
|         fz_image *img, UNUSED(fz_matrix ctm), UNUSED(float alpha), |                 fz_image *img, UNUSED(fz_matrix ctm), UNUSED(float alpha), | ||||||
|         UNUSED(fz_color_params color_params)) { |                 UNUSED(fz_color_params color_params)) { | ||||||
| 
 | 
 | ||||||
|     int l2factor = 0; |     int l2factor = 0; | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user