Загрузить файлы в «/»

This commit is contained in:
8nlight 2023-10-19 00:19:04 +03:00
parent 298bfe2189
commit 9b7c0c1429

View File

@ -1,9 +1,9 @@
#include <stdio.h>
#include "funcs.h"
#include "config.h"
int main(void) {
Init();
void (*FUNCS[])(void) = {PrintOs, GetAvg, GetKernel, GetShell, GetUptime, GetUser, GetPkgs, GetArch, Blank, PrintColors};
size_t i;
for (i = 0; i < sizeof(FUNCS) / sizeof(void *); i++) {
@ -21,8 +21,8 @@ int main(void) {
//If art is larger than buffer size
for (size_t j = i; j < Logo.size; j++)
printf("%s\n", Logo.art[j]);
for (; i < Logo.size; i++)
printf("%s\n", Logo.art[i]);
//Clean and close
printf("\n\033[0m");