Mercurial > hg > th-libs
comparison th_util.c @ 468:bbe3c9175d77
Do not set default author/copyright anymore.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Mon, 04 Jun 2018 02:39:54 +0300 |
parents | b92b18500bf9 |
children | fe5b803ae449 |
comparison
equal
deleted
inserted
replaced
467:b92b18500bf9 | 468:bbe3c9175d77 |
---|---|
27 char *author, char *license) | 27 char *author, char *license) |
28 { | 28 { |
29 th_prog_name = name; | 29 th_prog_name = name; |
30 th_prog_desc = desc; | 30 th_prog_desc = desc; |
31 th_prog_version = version; | 31 th_prog_version = version; |
32 | 32 th_prog_author = author; |
33 if (author) | 33 th_prog_license = license; |
34 th_prog_author = author; | |
35 else | |
36 th_prog_author = TH_PROG_AUTHOR; | |
37 | |
38 if (license) | |
39 th_prog_license = license; | |
40 else | |
41 th_prog_license = TH_PROG_LICENSE; | |
42 | 34 |
43 th_initialized = TRUE; | 35 th_initialized = TRUE; |
44 } | 36 } |
45 | 37 |
46 | 38 |