pspp.git - GNU PSPP

index : pspp.git
GNU PSPP
summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/language/commands/glm.c 1
-rw-r--r--src/ui/gui/psppire-dialog-action-indep-samps.c 14
2 files changed, 7 insertions, 8 deletions
diff --git a/src/language/commands/glm.c b/src/language/commands/glm.c
index 077fecc52..9d3020007 100644
--- a/src/language/commands/glm.c
+++ b/src/language/commands/glm.c
@@ -45,6 +45,7 @@
#include "math/moments.h"
#include "output/pivot-table.h"
+#include <locale.h>
#include "gettext.h"
#define N_(msgid) msgid
#define _(msgid) gettext (msgid)
diff --git a/src/ui/gui/psppire-dialog-action-indep-samps.c b/src/ui/gui/psppire-dialog-action-indep-samps.c
index 17f81271b..f4a327819 100644
--- a/src/ui/gui/psppire-dialog-action-indep-samps.c
+++ b/src/ui/gui/psppire-dialog-action-indep-samps.c
@@ -1,5 +1,5 @@
/* PSPPIRE - a graphical user interface for PSPP.
- Copyright (C) 2007, 2009, 2010, 2011, 2012, 2016 Free Software Foundation
+ Copyright (C) 2007, 2009, 2010, 2011, 2012, 2016, 2025 Free Software Foundation
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -275,13 +275,12 @@ on_grp_var_change (GtkEntry *entry, PsppireDialogActionIndepSamps *act)
act->grp_val[0].s[0] = '0円';
act->grp_val[1].s[0] = '0円';
}
- }
- struct variable *old_grp_var = act->grp_var;
- if (v)
- act->grp_var = var_ref (v);
- if (old_grp_var)
- var_unref (old_grp_var);
+ struct variable *old_grp_var = act->grp_var;
+ act->grp_var = var_ref (v);
+ if (old_grp_var)
+ var_unref (old_grp_var);
+ }
act->grp_var_width = v ? var_get_width (v) : -1;
}
@@ -433,4 +432,3 @@ psppire_dialog_action_indep_samps_init (PsppireDialogActionIndepSamps *act)
act->grp_var_width = -1;
act->group_defn = GROUPS_UNDEF;
}
-
generated by cgit v1.2.3 (git 2.46.0) at 2025年10月06日 02:42:12 +0000

AltStyle によって変換されたページ (->オリジナル) /