summaryrefslogtreecommitdiff
path: root/src/math-variable-popup.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/math-variable-popup.c')
-rw-r--r--src/math-variable-popup.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/math-variable-popup.c b/src/math-variable-popup.c
index 9c2d7ce..26bc4f5 100644
--- a/src/math-variable-popup.c
+++ b/src/math-variable-popup.c
@@ -204,10 +204,10 @@ math_variable_popup_set_property(GObject *object,
names = math_variables_get_names(math_equation_get_variables(self->priv->equation));
for (i = 0; names[i]; i++) {
- MPNumber *value;
+ MPNumber *aux;
- value = math_variables_get(math_equation_get_variables(self->priv->equation), names[i]);
- entry = make_variable_entry(self, names[i], value, TRUE);
+ aux = math_variables_get(math_equation_get_variables(self->priv->equation), names[i]);
+ entry = make_variable_entry(self, names[i], aux, TRUE);
gtk_widget_show(entry);
gtk_box_pack_start(GTK_BOX(self->priv->vbox), entry, FALSE, TRUE, 0);
}