Return to window-copy.c CVS log | Up to [local] / src / usr.bin / tmux |
version 1.303, 2020/09/16 18:37:55 | version 1.304, 2020/09/18 11:23:29 | ||
---|---|---|---|
|
|
||
free(sbuf); | free(sbuf); | ||
return (0); | return (0); | ||
} | } | ||
free(sbuf); | |||
} | } | ||
if (direction) { | if (direction) { | ||
|
|
||
fx = gd->sx - 1; | fx = gd->sx - 1; | ||
} | } | ||
} | } | ||
if (regex) { | if (regex) | ||
free(sbuf); | |||
regfree(®); | regfree(®); | ||
} | |||
if (found) { | if (found) { | ||
window_copy_scroll_to(wme, px, i, 1); | window_copy_scroll_to(wme, px, i, 1); | ||
|
|
||
free(sbuf); | free(sbuf); | ||
return (0); | return (0); | ||
} | } | ||
free(sbuf); | |||
} | } | ||
tstart = get_timer(); | tstart = get_timer(); | ||
|
|
||
out: | out: | ||
if (ssp == &ss) | if (ssp == &ss) | ||
screen_free(&ss); | screen_free(&ss); | ||
if (regex) { | if (regex) | ||
free(sbuf); | |||
regfree(®); | regfree(®); | ||
} | |||
return (1); | return (1); | ||
} | } | ||