Merged license defines
This commit is contained in:
parent
84ca4325c8
commit
f08d6c488f
5
about.h
5
about.h
|
@ -20,10 +20,7 @@
|
|||
#ifndef ABOUT_DEF
|
||||
#define ABOUT_DEF
|
||||
|
||||
#define LICENSE_0 "limpador do luca0N! 3 Copyright (C) 2020 luca0N!"
|
||||
#define LICENSE_1 "This program comes with ABSOLUTELY NO WARRANTY; for details type `w'."
|
||||
#define LICENSE_2 "This is free software, and you are welcome to redistribute it"
|
||||
#define LICENSE_3 "under certain conditions; type `c' for details."
|
||||
#define LICENSE "limpador do luca0N! 3 Copyright (C) 2020 luca0N!\nThis program comes with ABSOLUTELY NO WARRANTY; for details type `w'.\nThis is free software, and you are welcome to redistribute it\nunder certain conditions; type `c' for details."
|
||||
|
||||
#define PROGRAM_NAME "limpador do luca0N!"
|
||||
#define PROGRAM_SEASON 3
|
||||
|
|
6
main.c
6
main.c
|
@ -23,15 +23,13 @@
|
|||
// #include "colors.h"
|
||||
|
||||
#include <windows.h>
|
||||
#include <tchar.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
int printLicense(int full){
|
||||
if (full == 0) {
|
||||
printf("%s\n", LICENSE_0);
|
||||
printf("%s\n", LICENSE_1);
|
||||
printf("%s\n", LICENSE_2);
|
||||
printf("%s\n", LICENSE_3);
|
||||
printf("%s\n", LICENSE);
|
||||
return 0;
|
||||
} else {
|
||||
FILE* flic = fopen("./LICENSE", "r");
|
||||
|
|
Reference in New Issue