From 91859e4a211e32e53c1ccf6d605545e3a4f5a20f Mon Sep 17 00:00:00 2001 From: Ilia Maslakov Date: Sat, 8 May 2010 12:49:53 +0000 Subject: [PATCH] Fixed fogotten diff_map, diff_keymap Signed-off-by: Ilia Maslakov --- src/setup.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/setup.c b/src/setup.c index 75f6cade3..5609a28d3 100644 --- a/src/setup.c +++ b/src/setup.c @@ -1120,6 +1120,12 @@ load_keymap_defs (void) if (dialog_keymap && dialog_keymap->len > 0) dialog_map = (global_keymap_t *) dialog_keymap->data; +#ifdef USE_DIFF_VIEW + diff_map = default_diff_keymap; + if (diff_keymap && diff_keymap->len > 0) + diff_map = (global_keymap_t *) diff_keymap->data; +#endif + } void