[gnumeric] Simplify.
- From: Morten Welinder <mortenw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnumeric] Simplify.
- Date: Sat, 17 Apr 2021 18:14:39 +0000 (UTC)
commit 3a711b329d8713cf3ebf1d798d1f1eaedca5da4a
Author: Morten Welinder <terra gnome org>
Date: Sat Apr 17 14:05:42 2021 -0400
Simplify.
plugins/python-loader/gnm-py-interpreter.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/plugins/python-loader/gnm-py-interpreter.c b/plugins/python-loader/gnm-py-interpreter.c
index b921bd0a3..284ac56b3 100644
--- a/plugins/python-loader/gnm-py-interpreter.c
+++ b/plugins/python-loader/gnm-py-interpreter.c
@@ -276,7 +276,7 @@ gnm_py_interpreter_compare (gconstpointer a, gconstpointer b)
{
const GnmPyInterpreter *int_a = a, *int_b = b;
- if (int_a->plugin == NULL && int_b->plugin == NULL) {
+ if (int_a->plugin == int_b->plugin) {
return 0;
} else if (int_a->plugin == NULL) {
return -1;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]