From 1915dcc5d2a6360315be489e396faa37270a8402 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=AB=8F=E8=A8=AA=E5=AD=90?= Date: Sat, 22 Jun 2024 00:27:56 +0900 Subject: =?UTF-8?q?Linux:=20libc=E3=81=AE=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/logo/linux.c | 3 +++ 1 file changed, 3 insertions(+) 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 #include @@ -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; -- cgit v1.2.3