[retro-gtk/wip/aplazas/controller] core-descriptor: Fix firmware check loop
- From: Adrien Plazas <aplazas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [retro-gtk/wip/aplazas/controller] core-descriptor: Fix firmware check loop
- Date: Wed, 11 Oct 2017 20:12:17 +0000 (UTC)
commit e0fe9d29fe833ad21d2634fa34da3301c11cebc9
Author: Exalm <exalm7659 gmail com>
Date: Thu Oct 12 00:27:39 2017 +0500
core-descriptor: Fix firmware check loop
https://bugzilla.gnome.org/show_bug.cgi?id=788826
retro-gtk/retro-core-descriptor.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/retro-gtk/retro-core-descriptor.c b/retro-gtk/retro-core-descriptor.c
index b7381ae..995a5b2 100644
--- a/retro-gtk/retro-core-descriptor.c
+++ b/retro-gtk/retro-core-descriptor.c
@@ -322,7 +322,7 @@ retro_core_descriptor_check_platform_group (RetroCoreDescriptor *self,
return;
}
- for (firmware_p = firmwares; firmware_p != NULL; firmware_p++) {
+ for (firmware_p = firmwares; *firmware_p != NULL; firmware_p++) {
firmware_group = g_strconcat (RETRO_CORE_DESCRIPTOR_FIRMWARE_GROUP_PREFIX, *firmware_p, NULL);
if (!g_key_file_has_group (self->key_file, firmware_group)) {
g_set_error (error,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]