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