Commit 26dd1b66 authored by David Lawrence Ramsey's avatar David Lawrence Ramsey
Browse files

simplify

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3491 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
parent 0df4de37
Showing with 3 additions and 3 deletions
+3 -3
...@@ -543,13 +543,13 @@ void parse_browser_input(int *kbinput, bool *meta_key, bool *func_key) ...@@ -543,13 +543,13 @@ void parse_browser_input(int *kbinput, bool *meta_key, bool *func_key)
void browser_refresh(void) void browser_refresh(void)
{ {
struct stat st; struct stat st;
size_t i; size_t i = 0;
int col = 0, line = 0, filecols = 0; int col = 0, line = 0, filecols = 0;
size_t foo_len = mb_cur_max() * 7; size_t foo_len = mb_cur_max() * 7;
char *foo = charalloc(foo_len + 1); char *foo = charalloc(foo_len + 1);
i = (width != 0) ? width * editwinrows * ((selected / width) / if (width != 0)
editwinrows) : 0; i = width * editwinrows * ((selected / width) / editwinrows);
blank_edit(); blank_edit();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment