From 553fb5a77278691720b01b40785922607253bba4 Mon Sep 17 00:00:00 2001
From: kenny <kenny@tpol.lan>
Date: Sun, 1 Nov 2009 14:26:55 +0100
Subject: [PATCH] added select opt saving patch
---
src/cmd.c | 2 +-
src/setup.c | 1 +
src/setup.h | 2 ++
3 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/src/cmd.c b/src/cmd.c
index d23cc67..0dda06b 100644
a
|
b
|
typedef enum { |
110 | 110 | SELECT_SHELL_PATTERNS = 1 << 2 |
111 | 111 | } select_flags_t; |
112 | 112 | |
113 | | static select_flags_t select_flags = SELECT_MATCH_CASE | SELECT_SHELL_PATTERNS; |
| 113 | int select_flags = SELECT_MATCH_CASE | SELECT_SHELL_PATTERNS; |
114 | 114 | |
115 | 115 | int |
116 | 116 | view_file_at_line (const char *filename, int plain_view, int internal, |
diff --git a/src/setup.c b/src/setup.c
index ef45ff5..6660119 100644
a
|
b
|
static const struct { |
229 | 229 | { "auto_fill_mkdir_name", &auto_fill_mkdir_name }, |
230 | 230 | { "reverse_files_only", &reverse_files_only }, |
231 | 231 | { "copymove_persistent_attr", &setup_copymove_persistent_attr }, |
| 232 | { "select_flags", &select_flags }, |
232 | 233 | { 0, 0 } |
233 | 234 | }; |
234 | 235 | |
diff --git a/src/setup.h b/src/setup.h
index 8d1e8dd..adf0ce2 100644
a
|
b
|
extern int verbose; |
35 | 35 | |
36 | 36 | extern int mouse_close_dialog; |
37 | 37 | extern int reverse_files_only; |
| 38 | extern int select_flags; |
| 39 | |
38 | 40 | |
39 | 41 | extern int setup_copymove_persistent_attr; |
40 | 42 | void setup_save_config_show_error(const char *filename, GError **error); |