[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-anastasis-gtk] branch master updated: -guard against NPE
From: |
gnunet |
Subject: |
[taler-anastasis-gtk] branch master updated: -guard against NPE |
Date: |
Fri, 13 Dec 2024 15:07:42 +0100 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository anastasis-gtk.
The following commit(s) were added to refs/heads/master by this push:
new 4ac63d6 -guard against NPE
4ac63d6 is described below
commit 4ac63d61b65ba7bcb45c764dd3966f6bb073fb76
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Fri Dec 13 15:07:39 2024 +0100
-guard against NPE
---
src/anastasis/anastasis-gtk_action.c | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/src/anastasis/anastasis-gtk_action.c
b/src/anastasis/anastasis-gtk_action.c
index 19e7bbf..d4e2108 100644
--- a/src/anastasis/anastasis-gtk_action.c
+++ b/src/anastasis/anastasis-gtk_action.c
@@ -1472,9 +1472,13 @@ action_secret_editing (void)
&end,
true);
if (0 != strcmp (old,
- text))
+ NULL != text
+ ? text
+ : ""))
gtk_text_buffer_set_text (tb,
- text,
+ NULL != text
+ ? text
+ : "",
-1);
}
update_label ("anastasis_gtk_secret_file_name_label",
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-anastasis-gtk] branch master updated: -guard against NPE,
gnunet <=