Linux: libcの修正

このコミットが含まれているのは:
守矢諏訪子 2024-06-22 00:27:56 +09:00
コミット 1915dcc5d2
1個のファイルの変更3行の追加0行の削除

ファイルの表示

@ -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;