diff options
Diffstat (limited to 'src/math-buttons.c')
-rw-r--r-- | src/math-buttons.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/math-buttons.c b/src/math-buttons.c index 1ab1939..64d929c 100644 --- a/src/math-buttons.c +++ b/src/math-buttons.c @@ -393,13 +393,13 @@ update_bit_panel(MathButtons *buttons) return; for (i = 0; i < MAXBITS; i++) { - const gchar *label; + const gchar *bin_label; if (bits & (1LLU << (MAXBITS-i-1))) - label = " 1"; + bin_label = " 1"; else - label = " 0"; - gtk_label_set_text(GTK_LABEL(buttons->priv->bit_labels[i]), label); + bin_label = " 0"; + gtk_label_set_text(GTK_LABEL(buttons->priv->bit_labels[i]), bin_label); } base = math_equation_get_base(buttons->priv->equation); |