Merged license defines
This commit is contained in:
parent
84ca4325c8
commit
f08d6c488f
2 changed files with 3 additions and 8 deletions
5
about.h
5
about.h
|
@ -20,10 +20,7 @@
|
||||||
#ifndef ABOUT_DEF
|
#ifndef ABOUT_DEF
|
||||||
#define ABOUT_DEF
|
#define ABOUT_DEF
|
||||||
|
|
||||||
#define LICENSE_0 "limpador do luca0N! 3 Copyright (C) 2020 luca0N!"
|
#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 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 PROGRAM_NAME "limpador do luca0N!"
|
#define PROGRAM_NAME "limpador do luca0N!"
|
||||||
#define PROGRAM_SEASON 3
|
#define PROGRAM_SEASON 3
|
||||||
|
|
6
main.c
6
main.c
|
@ -23,15 +23,13 @@
|
||||||
// #include "colors.h"
|
// #include "colors.h"
|
||||||
|
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
|
#include <tchar.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
int printLicense(int full){
|
int printLicense(int full){
|
||||||
if (full == 0) {
|
if (full == 0) {
|
||||||
printf("%s\n", LICENSE_0);
|
printf("%s\n", LICENSE);
|
||||||
printf("%s\n", LICENSE_1);
|
|
||||||
printf("%s\n", LICENSE_2);
|
|
||||||
printf("%s\n", LICENSE_3);
|
|
||||||
return 0;
|
return 0;
|
||||||
} else {
|
} else {
|
||||||
FILE* flic = fopen("./LICENSE", "r");
|
FILE* flic = fopen("./LICENSE", "r");
|
||||||
|
|
Reference in a new issue