[recipes] If we don't have translations, use the name
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [recipes] If we don't have translations, use the name
- Date: Sat, 25 Feb 2017 05:30:33 +0000 (UTC)
commit d6a0452bc08cbe6508d495424e40736e039f8df6
Author: Matthias Clasen <mclasen redhat com>
Date: Sat Feb 25 00:29:40 2017 -0500
If we don't have translations, use the name
This prevents e.g. the Hawaiian cuisine from showing up as "".
src/gr-cuisine.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/gr-cuisine.c b/src/gr-cuisine.c
index 1a8dd8c..cc879fe 100644
--- a/src/gr-cuisine.c
+++ b/src/gr-cuisine.c
@@ -149,9 +149,9 @@ gr_cuisine_get_data (const char *name,
}
if (title)
- title = NULL;
+ *title = name;
if (description)
- description = NULL;
+ *description = NULL;
}
char *
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]