diff options
author | 諏訪子 <suwako@076.moe> | 2024-06-22 00:27:56 +0900 |
---|---|---|
committer | 諏訪子 <suwako@076.moe> | 2024-06-22 00:27:56 +0900 |
commit | 1915dcc5d2a6360315be489e396faa37270a8402 (patch) | |
tree | b569f3df47a762e505f4a2f848122668e07a15de | |
parent | eaccc846f6d7ebb5f38b39909e854febbe572340 (diff) |
Linux: libcの修正
-rw-r--r-- | src/logo/linux.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/logo/linux.c b/src/logo/linux.c index 16931cc..7d9cb89 100644 --- a/src/logo/linux.c +++ b/src/logo/linux.c @@ -2,6 +2,7 @@ #include "linux.h" #include "../resolution.h" #include "../wm.h" +#include "../libc.h" #include <stdio.h> #include <string.h> @@ -21,6 +22,8 @@ void getDistro(const char *distroname) { const char *wm = display_wm(); if (!wm) minsize--; else free((void *)wm); + const char *clang = display_libc(); + if (clang) minsize++; if (strncmp((char *)distroname, "alpine", strlen("alpine")) == 0) { color = MAGENTA; |