Moved line to header

This commit is contained in:
luca0N! 2020-05-23 02:58:36 -03:00
parent 7d6253397f
commit 12fc7cdc10
No known key found for this signature in database
GPG Key ID: 9F1B99B522287CAB
2 changed files with 5 additions and 3 deletions

6
main.c
View File

@ -84,11 +84,11 @@ void cleanDir(const char* path){
int main(void){
SetConsoleOutputCP(CP_UTF8);
printLicense(0);
printf("--------------------\n%s %d, %s\n", PROGRAM_NAME, PROGRAM_SEASON, PROGRAM_VERSION);
printf("%s\n--------------------\n\n", PROGRAM_COPYRIGHT);
printf("%s\n%s %d, %s\n", STR_LN, PROGRAM_NAME, PROGRAM_SEASON, PROGRAM_VERSION);
printf("%s\n%s\n\n", PROGRAM_COPYRIGHT, STR_BR);
printf("%s\n", STR_USE_WARNING);
char in;

2
str.h
View File

@ -20,6 +20,8 @@
#ifndef STR_DEF
#define STR_DEF
#define STR_LN "--------------------------------------"
#define STR_USE_WARNING "Aviso: é recomendado fechar todos os programas abertos antes de utilizar este programa para poder remover mais arquivos temporários. Deseja continuar? (S/n)"
#define STR_FETCHING_ADD_DIRS "Recolhendo pastas adicionais..."