nano

nano with my custom patches
git clone git://bsandro.tech/nano
Log | Files | Refs | README | LICENSE

commit 360093a6523d782c25277c10eda360788de07f20
parent 86e851b4e756b313a36d28ebee945057db86f356
Author: David Lawrence Ramsey <pooka109@gmail.com>
Date:   Wed, 28 Jul 2004 20:53:55 +0000

add a few missing placewewant size_t conversions


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1871 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

Diffstat:
Msrc/nano.c | 5+++--
1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/nano.c b/src/nano.c @@ -1729,7 +1729,8 @@ const char *do_int_speller(char *tempfile_name) const char *do_alt_speller(char *tempfile_name) { int alt_spell_status, lineno_cur = current->lineno; - int x_cur = current_x, y_cur = current_y, pww_cur = placewewant; + int x_cur = current_x, y_cur = current_y; + size_t pww_cur = placewewant; pid_t pid_spell; char *ptr; static int arglen = 3; @@ -2151,7 +2152,7 @@ int break_line(const char *line, int goal, int force) int do_para_search(justbegend search_type, size_t *quote, size_t *par, size_t *indent, int do_refresh) { - int old_pww = placewewant; + size_t old_pww = placewewant; const filestruct *current_save = current; size_t quote_len; /* Length of the initial quotation of the paragraph we