mirror of
https://github.com/tmux/tmux.git
synced 2024-12-04 19:58:48 +00:00
Some minor style nits.
This commit is contained in:
parent
b0b07fb585
commit
e9e5facb0e
3
regsub.c
3
regsub.c
@ -24,8 +24,7 @@
|
||||
#include "tmux.h"
|
||||
|
||||
static void
|
||||
regsub_copy(char **buf, size_t *len, const char *text, size_t start,
|
||||
size_t end)
|
||||
regsub_copy(char **buf, size_t *len, const char *text, size_t start, size_t end)
|
||||
{
|
||||
size_t add = end - start;
|
||||
|
||||
|
1
tmux.h
1
tmux.h
@ -2469,7 +2469,6 @@ void screen_select_cell(struct screen *, struct grid_cell *,
|
||||
void screen_alternate_on(struct screen *, struct grid_cell *, int);
|
||||
void screen_alternate_off(struct screen *, struct grid_cell *, int);
|
||||
|
||||
|
||||
/* window.c */
|
||||
extern struct windows windows;
|
||||
extern struct window_pane_tree all_window_panes;
|
||||
|
@ -4359,7 +4359,7 @@ window_copy_start_drag(struct client *c, struct mouse_event *m)
|
||||
data->selflag = SEL_CHAR;
|
||||
switch (data->selflag) {
|
||||
case SEL_WORD:
|
||||
if (data->ws) {
|
||||
if (data->ws != NULL) {
|
||||
window_copy_update_cursor(wme, x, y);
|
||||
window_copy_cursor_previous_word_pos(wme,
|
||||
data->ws, 0, &x, &y);
|
||||
|
Loading…
Reference in New Issue
Block a user