Some minor style nits.

This commit is contained in:
nicm
2020-04-09 14:23:34 +00:00
parent b0b07fb585
commit e9e5facb0e
3 changed files with 2 additions and 4 deletions

View File

@ -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);