I just need to learn C
This commit is contained in:
		
							parent
							
								
									f831de9c23
								
							
						
					
					
						commit
						85231d8ba1
					
				@ -570,12 +570,8 @@ void Paint_DrawString(UWORD Xstart, UWORD Ystart, const char * pString,
 | 
				
			|||||||
    UWORD Xpoint = Xstart;
 | 
					    UWORD Xpoint = Xstart;
 | 
				
			||||||
    UWORD Ypoint = Ystart;
 | 
					    UWORD Ypoint = Ystart;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    Debug("Width: ");
 | 
					    Debug("Width: %d\n", Paint.Width);
 | 
				
			||||||
    Debug(Paint.Width);
 | 
					    Debug("Height: %d\n", Paint.Height);
 | 
				
			||||||
    Debug("\n");
 | 
					 | 
				
			||||||
    Debug("Height: ");
 | 
					 | 
				
			||||||
    Debug(Paint.Height);
 | 
					 | 
				
			||||||
    Debug("\n");
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
    if (Xstart > Paint.Width || Ystart > Paint.Height) {
 | 
					    if (Xstart > Paint.Width || Ystart > Paint.Height) {
 | 
				
			||||||
        Debug("Paint_DrawString_EN Input exceeds the normal display range\r\n");
 | 
					        Debug("Paint_DrawString_EN Input exceeds the normal display range\r\n");
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user