# HG changeset patch # User Matti Hamalainen # Date 1528069194 -10800 # Node ID bbe3c9175d77756dd1185171b99924852cfa868c # Parent b92b18500bf98b55e517f1a5e0d3057359038ecf Do not set default author/copyright anymore. diff -r b92b18500bf9 -r bbe3c9175d77 th_util.c --- a/th_util.c Mon Jun 04 02:39:40 2018 +0300 +++ b/th_util.c Mon Jun 04 02:39:54 2018 +0300 @@ -29,16 +29,8 @@ th_prog_name = name; th_prog_desc = desc; th_prog_version = version; - - if (author) - th_prog_author = author; - else - th_prog_author = TH_PROG_AUTHOR; - - if (license) - th_prog_license = license; - else - th_prog_license = TH_PROG_LICENSE; + th_prog_author = author; + th_prog_license = license; th_initialized = TRUE; } diff -r b92b18500bf9 -r bbe3c9175d77 th_util.h --- a/th_util.h Mon Jun 04 02:39:40 2018 +0300 +++ b/th_util.h Mon Jun 04 02:39:54 2018 +0300 @@ -45,14 +45,6 @@ extern "C" { #endif -#ifdef TH_NO_DEFAULTS -# define TH_PROG_AUTHOR NULL -# define TH_PROG_LICENSE NULL -#else -# define TH_PROG_AUTHOR "By Matti 'ccr' Hamalainen (C) Copyright 2018 TNSP" -# define TH_PROG_LICENSE "This software is licensed under GNU GPL version 2" -#endif - // Replacement for assert() #ifdef HAVE_NO_ASSERT