shithub: dumb

Download patch

ref: efd9431447a6f686e8212ffc796624ed58b06531
parent: 07787fb0eb2473c7bc7e7185d37936c1b78e424b
author: Chris Moeller <kode54@gmail.com>
date: Sat Dec 22 13:54:44 EST 2012

Added format tag to IT reader

--- a/dumb/src/it/itread.c
+++ b/dumb/src/it/itread.c
@@ -1350,9 +1350,11 @@
 		return NULL;
 
 	{
-		const char *tag[1][2];
+		const char *tag[2][2];
 		tag[0][0] = "TITLE";
 		tag[0][1] = ((DUMB_IT_SIGDATA *)sigdata)->name;
-		return make_duh(-1, 1, (const char *const (*)[2])tag, 1, &descptr, &sigdata);
+		tag[1][0] = "FORMAT";
+		tag[1][1] = "IT";
+		return make_duh(-1, 2, (const char *const (*)[2])tag, 1, &descptr, &sigdata);
 	}
 }