Commit 2ad32092 authored by David Lawrence Ramsey's avatar David Lawrence Ramsey
Browse files

add another missing part of DB's patch to convert flags and related

variables into longs: toggle_init_one() should take a long instead of an
int for its flag parameter


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1845 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
parent 962cc746
Showing with 4 additions and 4 deletions
+4 -4
...@@ -215,9 +215,9 @@ void sc_init_one(shortcut **shortcutage, int ctrlval, const char *desc, ...@@ -215,9 +215,9 @@ void sc_init_one(shortcut **shortcutage, int ctrlval, const char *desc,
} }
#ifndef NANO_SMALL #ifndef NANO_SMALL
/* Create one new toggle structure, at the end of the toggles /* Create one new toggle structure, at the end of the toggles linked
* linked list. */ * list. */
void toggle_init_one(int val, const char *desc, int flag) void toggle_init_one(int val, const char *desc, long flag)
{ {
toggle *u; toggle *u;
......
...@@ -225,7 +225,7 @@ void sc_init_one(shortcut **shortcutage, int key, const char *desc, ...@@ -225,7 +225,7 @@ void sc_init_one(shortcut **shortcutage, int key, const char *desc,
int metaval, int funcval, int miscval, int view, void int metaval, int funcval, int miscval, int view, void
(*func)(void)); (*func)(void));
#ifndef NANO_SMALL #ifndef NANO_SMALL
void toggle_init_one(int val, const char *desc, int flag); void toggle_init_one(int val, const char *desc, long flag);
void toggle_init(void); void toggle_init(void);
#ifdef DEBUG #ifdef DEBUG
void free_toggles(void); void free_toggles(void);
......
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