From 5a714baeaf785b209f763489eea5d1e3d53fbb50 Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Sun, 21 Feb 2010 20:51:26 +0200 Subject: [PATCH] panel search crash due to strescape.h include missing from screen.c (ticket #2044) > In current git, mc crashes (at least on 64-bit) in Ctrl-S search due to missing > strutils_escape prototype. To reproduce, pressing Ctrl-S and a few keys is enough. > Adding #include "lib/strescape.h" to screen.c fixes the issue. Reported by jmak Signed-off-by: Sergei Trofimovich --- src/screen.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/screen.c b/src/screen.c index dc25ce990..26cde6a4d 100644 --- a/src/screen.c +++ b/src/screen.c @@ -35,6 +35,7 @@ #include "lib/tty/tty.h" #include "lib/skin.h" +#include "lib/strescape.h" #include "lib/tty/mouse.h" /* For Gpm_Event */ #include "lib/tty/key.h" /* XCTRL and ALT macros */ #include "lib/filehighlight.h"