aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2021-03-02 08:22:59 +0000
committerDaniel Eklöf <daniel@ekloef.se>2021-03-02 08:22:59 +0000
commit55e3c749035d174b7fc667b66d467609b330faa6 (patch)
tree543483504a8df3ff523d6dbb6d4667dc57411550
parentMerge branch 'add-name-section-to-foot-ctlseq' (diff)
parentMention fix in Changelog. (diff)
Merge branch 'fix-vertical-letter-offset-config'
-rw-r--r--CHANGELOG.md2
-rw-r--r--config.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 7255e5a3..8bcc8224 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -93,6 +93,7 @@
exiting shell (https://codeberg.org/dnkl/foot/issues/366).
* Default value of `-t,--term` in `--help` output when foot was built
without terminfo support.
+* Fix `vertical-letter-offset` moving glyphs horizontally.
### Security
@@ -100,6 +101,7 @@
* [craigbarnes](https://codeberg.org/craigbarnes)
* toast
+* [l3mon4d3](https://codeberg.org/l3mon4d3)
## 1.6.4
diff --git a/config.c b/config.c
index b225de46..13673123 100644
--- a/config.c
+++ b/config.c
@@ -708,7 +708,7 @@ parse_section_main(const char *key, const char *value, struct config *conf,
else if (strcmp(key, "vertical-letter-offset") == 0) {
if (!str_to_pt_or_px(
- value, &conf->horizontal_letter_offset,
+ value, &conf->vertical_letter_offset,
conf, path, lineno, "default", "vertical-letter-offset"))
return false;
}