summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2025-01-11 16:25:08 +0900
committerTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2025-01-11 16:25:08 +0900
commitb69b969916ec812d30770b31e201eff51b0ef65d (patch)
tree2c8f2eaf9e6f87a813eedd05fd3bb522140a1654
parenta550509b5611bd7ee9e7bd9b55d5d335873378f7 (diff)
modified st/config.h, modified st/x.c
-rw-r--r--st/config.h4
-rw-r--r--st/x.c1
2 files changed, 3 insertions, 2 deletions
diff --git a/st/config.h b/st/config.h
index 4696550..7f9989f 100644
--- a/st/config.h
+++ b/st/config.h
@@ -11,7 +11,9 @@ static char *fonts[] = {
"ko:pixelsize=16:antialias=true:autohint=true",
};
static size_t currentfont = 0;
-static char *font2[] = { "NotoColorEmoji:pixelsize=14:antialias=true:autohint=true" };
+static char *font2[] = {
+ "NotoColorEmoji:pixelsize=14:antialias=true:autohint=true",
+};
static int borderpx = 2;
/*
diff --git a/st/x.c b/st/x.c
index 18639a9..5b26611 100644
--- a/st/x.c
+++ b/st/x.c
@@ -1165,7 +1165,6 @@ xloadsparefonts(void)
}
for (fp = font2; fp - font2 < fc; ++fp) {
-
if (**fp == '-')
pattern = XftXlfdParse(*fp, False, False);
else