fix the "Screen_size_in_GIF" feature. The canvas must not be smaller than the picture !
This commit is contained in:
		
							parent
							
								
									c9b1c8a11e
								
							
						
					
					
						commit
						6b6f8790d5
					
				@ -879,8 +879,9 @@ void Save_GIF(T_IO_Context * context)
 | 
				
			|||||||
      alphabet_sister = (word *)GFX2_malloc(4096*sizeof(word));
 | 
					      alphabet_sister = (word *)GFX2_malloc(4096*sizeof(word));
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      // On initialise le LSDB du fichier
 | 
					      // On initialise le LSDB du fichier
 | 
				
			||||||
      if (Config.Screen_size_in_GIF)
 | 
					      if (Config.Screen_size_in_GIF && Screen_width >= context->Width && Screen_height >= context->Height)
 | 
				
			||||||
      {
 | 
					      {
 | 
				
			||||||
 | 
					        // Canvas bigger than the image
 | 
				
			||||||
        LSDB.Width=Screen_width;
 | 
					        LSDB.Width=Screen_width;
 | 
				
			||||||
        LSDB.Height=Screen_height;
 | 
					        LSDB.Height=Screen_height;
 | 
				
			||||||
      }
 | 
					      }
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user