X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=curs_lib.c;h=a5b3a22625d0da1b3c7f6cf1cd6d2bc7d0544c47;hp=9f8b8aa7d22d2297795ff1c6a11c4b2ca30d4be9;hb=617e7d83d14e14e6a520a48e75437211b16c8834;hpb=49f1156410e9a037404101696d37b2c0d5c67564 diff --git a/curs_lib.c b/curs_lib.c index 9f8b8aa..a5b3a22 100644 --- a/curs_lib.c +++ b/curs_lib.c @@ -24,7 +24,6 @@ #include "pager.h" #include "mbyte.h" -#include "lib/mem.h" #include "lib/intl.h" #include "lib/str.h" #include "lib/debug.h" @@ -490,7 +489,7 @@ void mutt_ungetch (int ch, int op) tmp.op = op; if (UngetCount >= UngetBufLen) - mem_realloc (&KeyEvent, (UngetBufLen += 128) * sizeof (event_t)); + p_realloc(&KeyEvent, UngetBufLen += 128); KeyEvent[UngetCount++] = tmp; }