[patch] fix nolink subinstruction

Harm Verhagen <[email protected]> 08 Apr 2003 00:17:36 +0200
Newsgroups gmane.comp.video.ogle.devel
Message-ID <[email protected]>
diff -u -r1.28 decoder.c
--- ogle/vmg/decoder.c	2002/10/02 23:31:15	1.28
+++ ogle/vmg/decoder.c	2003/04/07 21:44:11
@@ -239,7 +239,10 @@
   return_values->data1 = button;
   if(cond && return_values->data1)
     state->SPRM[8] = return_values->data1 << 10;
-  return cond;
+  if(linkop == LinkNoLink) /* Obviously LinkNoLink isn't a link ;) */
+    return 0;
+  else
+    return cond;
 }
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.