Home » U++ Library support » U++ Library : Other (not classified elsewhere) » [FIXED]Case bug in X11Wnd.cpp  
	
		
		
			| [FIXED]Case bug in X11Wnd.cpp [message #28830] | 
			Sat, 18 September 2010 16:52   | 
		 
		
			
				
				
				
					
						  
						mdelfede
						 Messages: 1310 Registered: September 2007 
						
					 | 
					Ultimate Contributor  | 
					 | 
		 
		 
	 | 
 
	
		Hi, uptading from svn, I got this : 
 
void Ctrl::DoPaint(const Vector<Rect>& invalid)
{
	GuiLock __;
	if(IsVisible()) {
		LTIMING("DoPaint");
		fullrefresh = false;
//		if(GLX) return;
		GC gc = XCreateGC(Xdisplay, (Drawable)top->window, 0, 0);
		XftDraw *xftdraw = XftDrawCreate(Xdisplay, (Drawable) top->window,
		                                 DefaultVisual(Xdisplay, Xscreenno), Xcolormap);
		SystemDraw draw(top->window, gc, xftdraw, invalid);
		Painting = true;         <--HERE
		UpdateArea(draw, draw.GetClip());
		Painting = false;        <--HERE
		XftDrawDestroy(xftdraw);
		XFreeGC(Xdisplay, gc);
	}
}
 
 
The lines with 'Painting=.....' gives compilation error. 
I guess that 'Painting' should be 'painting' insteed. 
 
Ciao 
 
Max 
		
		
		[Updated on: Mon, 04 October 2010 21:25] Report message to a moderator  
 |  
	| 
		
	 | 
 
 
 |  
  
 
Goto Forum:
 
 Current Time: Tue Nov 04 07:18:50 CET 2025 
 Total time taken to generate the page: 0.00669 seconds 
 |