Minor style nits - return ().

This commit is contained in:
Nicholas Marriott
2012-04-01 20:53:47 +00:00
parent 20d10c608d
commit c829bdf537
4 changed files with 7 additions and 7 deletions

View File

@ -805,14 +805,14 @@ window_copy_key_numeric_prefix(struct window_pane *wp, int key)
key &= KEYC_MASK_KEY;
if (key < '0' || key > '9')
return 1;
return (1);
if (data->numprefix >= 100) /* no more than three digits */
return 0;
return (0);
data->numprefix = data->numprefix * 10 + key - '0';
window_copy_redraw_lines(wp, screen_size_y(s) - 1, 1);
return 0;
return (0);
}
/* ARGSUSED */