[mednaffe] 51/99: Fix 'open rom' when list is empty

Stephen Kitt skitt at moszumanska.debian.org
Tue Aug 2 21:00:05 UTC 2016


This is an automated email from the git hooks/post-receive script.

skitt pushed a commit to branch master
in repository mednaffe.

commit 71f0c5086f6f4a609e67794939ee057a2ecd39b1
Author: AmatCoder <amatcoder at gmail.com>
Date:   Sat Apr 4 20:46:06 2015 +0200

    Fix 'open rom' when list is empty
---
 src/command.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/command.c b/src/command.c
index 5ff69af..810da6a 100644
--- a/src/command.c
+++ b/src/command.c
@@ -240,7 +240,7 @@ G_MODULE_EXPORT
 void row_exec(GtkTreeView *treeview, GtkTreePath *patho,
               GtkTreeViewColumn *col, guidata *gui)
 {
-  if ((gui->executing == TRUE) || (gui->rompath == NULL)) 
+  if ((gui->executing == TRUE) || (gui->fullpath == NULL)) 
     return;
     
   BOOL ret;
@@ -283,7 +283,7 @@ void row_exec(GtkTreeView *treeview, GtkTreePath *patho,
   gint out;
   GIOChannel *out_ch;
   
-  if ((gui->executing == TRUE) || (gui->rompath == NULL)) 
+  if ((gui->executing == TRUE) || (gui->fullpath == NULL)) 
     return;
 
   /* Always to send 'video.fs' and 'cheats' */

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/mednaffe.git



More information about the Pkg-games-commits mailing list