mirror of
https://github.com/tmux/tmux.git
synced 2025-09-01 04:27:00 +00:00
Fix build.
This commit is contained in:
4
tmux.h
4
tmux.h
@ -3530,10 +3530,6 @@ int utf8_is_modifier(const struct utf8_data *);
|
||||
enum hanguljamo_state hanguljamo_check_state(const struct utf8_data *,
|
||||
const struct utf8_data *);
|
||||
|
||||
/* procname.c */
|
||||
char *get_proc_name(int, char *);
|
||||
char *get_proc_cwd(int);
|
||||
|
||||
/* log.c */
|
||||
void log_add_level(void);
|
||||
int log_get_level(void);
|
||||
|
@ -861,7 +861,7 @@ window_tree_search(__unused void *modedata, void *itemdata, const char *ss)
|
||||
case WINDOW_TREE_PANE:
|
||||
if (s == NULL || wl == NULL || wp == NULL)
|
||||
break;
|
||||
cmd = get_proc_name(wp->fd, wp->tty);
|
||||
cmd = osdep_get_name(wp->fd, wp->tty);
|
||||
if (cmd == NULL || *cmd == '\0') {
|
||||
free(cmd);
|
||||
return (0);
|
||||
|
Reference in New Issue
Block a user