Description: last minute fixes from upstream
 .
Author: Laszlo Boszormenyi (GCS) <gcs@debian.org>

---

--- lsdvd-0.16.orig/ChangeLog
+++ lsdvd-0.16/ChangeLog
@@ -1,3 +1,6 @@
+13/03/06 - 0.16 still
+
+Fixed horrendous mistake that didn't print end of arrays. My bad.
 
 12/12/05 - 0.16
 
--- lsdvd-0.16.orig/configure
+++ lsdvd-0.16/configure
@@ -2887,8 +2887,8 @@ _ACEOF
 cat confdefs.h >>conftest.$ac_ext
 cat >>conftest.$ac_ext <<_ACEOF
 /* end confdefs.h.  */
+#include <stdint.h>
 #include <dvdread/ifo_read.h>
-		#include <stdint.h>
 int
 main ()
 {
--- lsdvd-0.16.orig/lsdvd.c
+++ lsdvd-0.16/lsdvd.c
@@ -13,13 +13,13 @@
  *  2003-04-19  Cleanups get_title_name, added dvdtime2msec, added helper macros,
  *			  output info structures in form of a Perl module, by Henk Vergonet.
  */
+#include <stdint.h>
 #include <dvdread/ifo_read.h>
 #include <string.h>
 #include <sys/stat.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <unistd.h>
-#include <stdint.h>
 #include "lsdvd.h"
 #include "ocode.h"
 
--- lsdvd-0.16.orig/ocode.c
+++ lsdvd-0.16/ocode.c
@@ -114,12 +114,10 @@ static void ARRAY_(char *name) {
         INDENT;
         if (_lvl) {
 		printf(syntax->array_inner, name);
-		printf(_lvl_return[_lvl]);
-		//sprintf(_lvl_return[_lvl], syntax->return_array_inner, name);
         } else {
                 printf(syntax->array_outer, name);
-                _lvl_return[_lvl] = syntax->return_array_outer;
         }
+	_lvl_return[_lvl] = _lvl ? syntax->return_array_inner : syntax->return_array_outer;
         ++_lvl;
 }
 
