diff options
author | Josh Rickmar <jrick@devio.us> | 2012-05-07 11:08:23 -0400 |
---|---|---|
committer | Josh Rickmar <jrick@devio.us> | 2012-05-07 11:08:23 -0400 |
commit | 2c0869fdf6a4298679e0eb512064d33dddd03b03 (patch) | |
tree | 687f23bca9c0c628d6d9af1d887df5524db0b745 | |
parent | 908ab6557a8de6c98d8bde283cf239f9e79b96c5 (diff) | |
download | xombrero-2c0869fdf6a4298679e0eb512064d33dddd03b03.tar.gz |
enable_autoscroll is an action, not a setting. The old code was
correct.
-rw-r--r-- | settings.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/settings.c b/settings.c index 6e2a49d..00171b5 100644 --- a/settings.c +++ b/settings.c @@ -1101,16 +1101,7 @@ set_auto_load_images(char *value) int set_enable_autoscroll(char *value) { - struct tab *t; - enable_autoscroll = atoi(value); - if (enable_autoscroll) { - TAILQ_FOREACH(t, &tabs, entry) { - run_script(t, JS_AUTOSCROLL); - } - } else { - /* XXX: kill the script if running */ - } return (0); } |