summaryrefslogtreecommitdiff
path: root/config.c
diff options
context:
space:
mode:
authorLeo Tenenbaum <pommicket@gmail.com>2021-01-25 20:21:13 -0500
committerLeo Tenenbaum <pommicket@gmail.com>2021-01-25 20:21:13 -0500
commit3050f7539aa780f15ea1ae4bd0296dfbb57b8e03 (patch)
treeb97fcdb5b11c3f8136a7e10ea3b52725901c7052 /config.c
parentbf9a22bfff4051a70dcebbcd471eddb7b7724f7a (diff)
menu titles, better padding
Diffstat (limited to 'config.c')
-rw-r--r--config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/config.c b/config.c
index 46a389f..868122d 100644
--- a/config.c
+++ b/config.c
@@ -307,7 +307,7 @@ void config_read(Ted *ted, char const *filename) {
config_err(cfg, "Invalid max menu width: %s.", value);
}
} else if (streq(key, "padding")) {
- if (is_integer && integer >= 10 && integer < 100) {
+ if (is_integer && integer >= 0 && integer < 100) {
settings->padding = (u8)integer;
} else {
config_err(cfg, "Invalid padding: %s.", value);