Fixed gswe_planet_info_table creation

This is a fixup for commit dcd58b5dd1
This commit is contained in:
2013-09-30 22:17:05 +02:00
parent 27ee3747ad
commit bc9ff2fc09
2 changed files with 2 additions and 9 deletions

View File

@@ -878,7 +878,7 @@ add_points(GswePlanetData *planet_data, GsweMoment *moment)
{
guint point;
gswe_moment_calculate_planet(moment, planet_data->planet, NULL);
gswe_moment_calculate_planet(moment, planet_data->planet_info->planet, NULL);
point = GPOINTER_TO_INT(g_hash_table_lookup(moment->priv->element_points, GINT_TO_POINTER(planet_data->sign->element))) + planet_data->planet_info->points;
g_hash_table_replace(moment->priv->element_points, GINT_TO_POINTER(planet_data->sign->element), GINT_TO_POINTER(point));