bind R = reload_ign_cache
bind + = zoom_in
bind - = zoom_out
-bind 0 = sh "echo set zoom_level = 1.0 > $4"
+bind 1 = sh "echo set zoom_level = 1.0 > $4"
+bind 2 = sh "echo set zoom_level = 2.0 > $4"
bind t = toggle_status
# Hilight matches. Notice the * after the slash - it makes the command incremental, i.e. gets called
# on every character you type. You can do `bind /_ = search %s' if you want it less interactive.
bind R = reload_ign_cache
bind + = zoom_in
bind - = zoom_out
-bind 0 = sh "echo set zoom_level = 1.0 > $4"
+bind 1 = sh "echo set zoom_level = 1.0 > $4"
+bind 2 = sh "echo set zoom_level = 2.0 > $4"
bind t = toggle_status
# Hilight matches. Notice the * after the slash - it makes the command incremental, i.e. gets called
# on every character you type. You can do `bind /_ = search %s' if you want it less interactive.
} else if (c->type == TYPE_FLOAT) {
float *fp = (float *)c->ptr;
buf = expand_vars(val);
- *fp = strtof(buf, &endp);
+ *fp = atof(buf);
g_free(buf);
}