diff options
author | DuClare <akarinotengoku@gmail.com> | 2009-05-15 17:11:00 +0300 |
---|---|---|
committer | DuClare <akarinotengoku@gmail.com> | 2009-05-15 17:11:00 +0300 |
commit | 8b2e8ac8a34201e0512e8d640af02b0a534e8015 (patch) | |
tree | d78ed98e7747cd155ee7a46dc17e48a5890b98c8 /uzbl.c | |
parent | 4f5ccd5bfd3c0d7f06ef660495a33cf59a39b1eb (diff) |
Add reset_command_mode to var->ptr map and give it a default in init_settings
Diffstat (limited to 'uzbl.c')
-rw-r--r-- | uzbl.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -72,6 +72,7 @@ const struct { { "status_background", (void *)&uzbl.behave.status_background }, { "insert_mode", (void *)&uzbl.behave.insert_mode }, { "always_insert_mode", (void *)&uzbl.behave.always_insert_mode }, + { "reset_command_mode", (void *)&uzbl.behave.reset_command_mode }, { "modkey" , (void *)&uzbl.behave.modkey }, { "load_finish_handler",(void *)&uzbl.behave.load_finish_handler}, { "history_handler", (void *)&uzbl.behave.history_handler }, @@ -1415,6 +1416,8 @@ settings_init () { State *s = &uzbl.state; Network *n = &uzbl.net; + uzbl.behave.reset_command_mode = 1; + if (!s->config_file) { const char* XDG_CONFIG_HOME = getenv ("XDG_CONFIG_HOME"); if (! XDG_CONFIG_HOME || ! strcmp (XDG_CONFIG_HOME, "")) { |