Fix help screens: since r1532, short texts were padded with a black rectangle on top instead of bottom.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1646 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
		
							parent
							
								
									7a3ae5824a
								
							
						
					
					
						commit
						a38b7336e6
					
				@ -344,7 +344,7 @@ void Display_help(void)
 | 
				
			|||||||
    if (line_index >= Help_section[Current_help_section].Length)
 | 
					    if (line_index >= Help_section[Current_help_section].Length)
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
      Window_rectangle (x_pos,
 | 
					      Window_rectangle (x_pos,
 | 
				
			||||||
           y_pos,
 | 
					           y_pos + line_index*8,
 | 
				
			||||||
           44*6,
 | 
					           44*6,
 | 
				
			||||||
           // 44 = Nb max de char (+1 pour éviter les plantages en mode X
 | 
					           // 44 = Nb max de char (+1 pour éviter les plantages en mode X
 | 
				
			||||||
           // causés par une largeur = 0)
 | 
					           // causés par une largeur = 0)
 | 
				
			||||||
 | 
				
			|||||||
@ -65,12 +65,6 @@ static const T_Help_table helptable_about[] =
 | 
				
			|||||||
  HELP_TEXT ("")
 | 
					  HELP_TEXT ("")
 | 
				
			||||||
  HELP_TEXT ("Copyright 2007-2010, the Grafx2 project team")
 | 
					  HELP_TEXT ("Copyright 2007-2010, the Grafx2 project team")
 | 
				
			||||||
  HELP_TEXT ("    Copyright 1996-2001, SUNSET DESIGN")
 | 
					  HELP_TEXT ("    Copyright 1996-2001, SUNSET DESIGN")
 | 
				
			||||||
  HELP_TEXT ("")
 | 
					 | 
				
			||||||
  HELP_TEXT ("")
 | 
					 | 
				
			||||||
  HELP_TEXT ("")
 | 
					 | 
				
			||||||
  HELP_TEXT ("")
 | 
					 | 
				
			||||||
  // Keep enough empty lines to ensure the 16-line screen is fully redrawn.
 | 
					 | 
				
			||||||
  // HELP_TITLE counts for 2.
 | 
					 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
static const T_Help_table helptable_licence[] =
 | 
					static const T_Help_table helptable_licence[] =
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user