mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 00:56:10 +00:00 
			
		
		
		
	Do not need getopt.h.
This commit is contained in:
		@@ -18,7 +18,6 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
#include <sys/types.h>
 | 
					#include <sys/types.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include <getopt.h>
 | 
					 | 
				
			||||||
#include <stdlib.h>
 | 
					#include <stdlib.h>
 | 
				
			||||||
#include <string.h>
 | 
					#include <string.h>
 | 
				
			||||||
#include <unistd.h>
 | 
					#include <unistd.h>
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -891,7 +891,7 @@ cmd_find_from_client(struct cmd_find_state *fs, struct client *c)
 | 
				
			|||||||
		}
 | 
							}
 | 
				
			||||||
		if (wl != NULL) {
 | 
							if (wl != NULL) {
 | 
				
			||||||
			fs->s = s;
 | 
								fs->s = s;
 | 
				
			||||||
			fs->wl = s->curw; /* use active session */
 | 
								fs->wl = s->curw; /* use current session */
 | 
				
			||||||
			fs->w = fs->wl->window;
 | 
								fs->w = fs->wl->window;
 | 
				
			||||||
			fs->wp = fs->w->active; /* use active pane */
 | 
								fs->wp = fs->w->active; /* use active pane */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user