diff options
author | 諏訪子 <suwako@076.moe> | 2024-06-19 19:57:33 +0900 |
---|---|---|
committer | 諏訪子 <suwako@076.moe> | 2024-06-19 19:57:33 +0900 |
commit | e8b7158d34bda940b31fca56c2c97b586d6ee937 (patch) | |
tree | ff03c51d5582d29b0d3020b12951eef2e599810b /main.c | |
parent | b40fc45106967a7fd58581c6218f70b3b376712f (diff) |
Linux: ディストロのロゴの表示
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -35,6 +35,7 @@ int main(int argc, char *argv[]) { #include "src/logo/freebsd.h" getOS(); #elif defined(__linux__) + get_distro(); #include "src/logo/linux.h" getDistro(distroname); #else @@ -102,9 +103,8 @@ int main(int argc, char *argv[]) { #if defined(__linux__) printf("%s ", LOGO[lc]); - printf(COLOR"%s%s"RESET, "Distro", ": "); - display_distro(); - printf("\n"); + printf("%s%s%s"RESET, color, "Distro", ": "); + printf("%s\n", display_distro()); lc++; #endif |