commit 5ba5ee40e5e0b53bb3e91be01cdacb44ad66e45d
parent f3fb4134157d52b233c632668e9b817fe9997740
Author: Vincent Forest <vincent.forest@meso-star.com>
Date: Fri, 20 Nov 2020 10:32:32 +0100
Minor updates of comments and log message
Diffstat:
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/htsky.c b/src/htsky.c
@@ -562,7 +562,7 @@ htsky_create
res = str_set(&sky->name, args->name);
if(res != RES_OK) {
- log_err(sky, "Cannot setup the material name to `%s'.\n", args->name);
+ log_err(sky, "Cannot setup the sky name to `%s'.\n", args->name);
goto error;
}
diff --git a/src/htsky.h b/src/htsky.h
@@ -74,7 +74,7 @@ struct htsky_args {
const char* htgop_filename;
const char* htmie_filename;
const char* cache_filename; /* May be NULL <=> no cached data structure */
- const char* name; /* Name of the sky. Used by the Star-MTL binding */
+ const char* name; /* Name of the sky */
enum htsky_spectral_type spectral_type;
double wlen_range[2]; /* Spectral range to handle. In nm */
unsigned grid_max_definition[3]; /* Maximum definition of the grid */
diff --git a/src/htsky_c.h b/src/htsky_c.h
@@ -92,7 +92,7 @@ struct htsky {
unsigned nthreads; /* #threads */
- struct str name; /* Name of the sky used by the Star-MTL binding */
+ struct str name; /* Name of the sky */
struct mem_allocator* allocator;
struct mem_allocator svx_allocator;