[retro-gtk/core-fixes: 5/9] core: Fix a precondition in retro_core_override_option_default()
- From: Adrien Plazas <aplazas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [retro-gtk/core-fixes: 5/9] core: Fix a precondition in retro_core_override_option_default()
- Date: Sun, 16 Feb 2020 19:42:02 +0000 (UTC)
commit 9d81caec58ffda68d6a6e9f32e560e1be2419070
Author: Adrien Plazas <kekun plazas laposte net>
Date: Sun Feb 16 14:34:00 2020 +0100
core: Fix a precondition in retro_core_override_option_default()
retro-gtk/retro-core.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/retro-gtk/retro-core.c b/retro-gtk/retro-core.c
index 014406c..4c56253 100644
--- a/retro-gtk/retro-core.c
+++ b/retro-gtk/retro-core.c
@@ -1898,7 +1898,7 @@ retro_core_override_option_default (RetroCore *self,
{
g_return_if_fail (RETRO_IS_CORE (self));
g_return_if_fail (key != NULL);
- g_return_if_fail (key != NULL);
+ g_return_if_fail (value != NULL);
g_return_if_fail (!retro_core_get_is_initiated (self));
g_hash_table_replace (self->option_overrides, g_strdup (key), g_strdup (value));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]