From 2f77d3c19cd97dd2d55dd3bff8a4d5046ef6e2b6 Mon Sep 17 00:00:00 2001 From: Jim Evins Date: Sun, 21 Dec 2003 04:02:01 +0000 Subject: [PATCH] In size_reset_cb() fixed broken, un-initialized, use of w_base and h_base. This was accidentally introduced when modified to track gl_prefs. git-svn-id: https://glabels.svn.sourceforge.net/svnroot/glabels/trunk@380 f5e0f49d-192f-0410-a22d-a8d8700d0965 --- glabels2/src/object-editor-size-page.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/glabels2/src/object-editor-size-page.c b/glabels2/src/object-editor-size-page.c index 817524cd..874b2606 100644 --- a/glabels2/src/object-editor-size-page.c +++ b/glabels2/src/object-editor-size-page.c @@ -236,8 +236,8 @@ size_reset_cb (glObjectEditor *editor) G_CALLBACK (h_spin_cb), editor); - w_base *= editor->priv->units_per_point; - h_base *= editor->priv->units_per_point; + w_base = editor->priv->w_base * editor->priv->units_per_point; + h_base = editor->priv->h_base * editor->priv->units_per_point; gtk_spin_button_set_value (GTK_SPIN_BUTTON (editor->priv->size_w_spin), w_base); -- 2.39.5