mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 09:44:18 +00:00 
			
		
		
		
	FIx type for %u, from Thomas Adam.
This commit is contained in:
		
							
								
								
									
										4
									
								
								window.c
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								window.c
									
									
									
									
									
								
							@@ -425,8 +425,8 @@ window_resize(struct window *w, u_int sx, u_int sy, int xpixel, int ypixel)
 | 
				
			|||||||
		ypixel = DEFAULT_YPIXEL;
 | 
							ypixel = DEFAULT_YPIXEL;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	log_debug("%s: @%u resize %ux%u (%ux%u)", __func__, w->id, sx, sy,
 | 
						log_debug("%s: @%u resize %ux%u (%ux%u)", __func__, w->id, sx, sy,
 | 
				
			||||||
	    xpixel == -1 ? w->xpixel : xpixel,
 | 
						    xpixel == -1 ? w->xpixel : (u_int)xpixel,
 | 
				
			||||||
	    ypixel == -1 ? w->ypixel : ypixel);
 | 
						    ypixel == -1 ? w->ypixel : (u_int)ypixel);
 | 
				
			||||||
	w->sx = sx;
 | 
						w->sx = sx;
 | 
				
			||||||
	w->sy = sy;
 | 
						w->sy = sy;
 | 
				
			||||||
	if (xpixel != -1)
 | 
						if (xpixel != -1)
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user