Fix condition for checking double pointer
This commit is contained in:
@@ -165,7 +165,7 @@ gswe_moon_phase_data_calculate_by_timestamp(
|
||||
|
||||
jd = gswe_timestamp_get_julian_day_et(timestamp, err);
|
||||
|
||||
if (*err) {
|
||||
if (err && *err) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user