mirror of https://github.com/tmux/tmux.git
Some minor style nits.
parent
b0b07fb585
commit
e9e5facb0e
3
regsub.c
3
regsub.c
|
@ -24,8 +24,7 @@
|
||||||
#include "tmux.h"
|
#include "tmux.h"
|
||||||
|
|
||||||
static void
|
static void
|
||||||
regsub_copy(char **buf, size_t *len, const char *text, size_t start,
|
regsub_copy(char **buf, size_t *len, const char *text, size_t start, size_t end)
|
||||||
size_t end)
|
|
||||||
{
|
{
|
||||||
size_t add = end - start;
|
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_on(struct screen *, struct grid_cell *, int);
|
||||||
void screen_alternate_off(struct screen *, struct grid_cell *, int);
|
void screen_alternate_off(struct screen *, struct grid_cell *, int);
|
||||||
|
|
||||||
|
|
||||||
/* window.c */
|
/* window.c */
|
||||||
extern struct windows windows;
|
extern struct windows windows;
|
||||||
extern struct window_pane_tree all_window_panes;
|
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;
|
data->selflag = SEL_CHAR;
|
||||||
switch (data->selflag) {
|
switch (data->selflag) {
|
||||||
case SEL_WORD:
|
case SEL_WORD:
|
||||||
if (data->ws) {
|
if (data->ws != NULL) {
|
||||||
window_copy_update_cursor(wme, x, y);
|
window_copy_update_cursor(wme, x, y);
|
||||||
window_copy_cursor_previous_word_pos(wme,
|
window_copy_cursor_previous_word_pos(wme,
|
||||||
data->ws, 0, &x, &y);
|
data->ws, 0, &x, &y);
|
||||||
|
|
Loading…
Reference in New Issue