git » fp-git.git » commit 0cde661

fixed small bug in the name of the midi

author ecalot
2006-07-16 01:49:16 UTC
committer ecalot
2006-07-16 01:49:16 UTC
parent bc1e1f2fb4bbbbcafa41cb8e80a1532fcadfc4f3

fixed small bug in the name of the midi

PR/src/include/common.h +1 -1
PR/src/lib/object/sound/sound_common.c +1 -0

diff --git a/PR/src/include/common.h b/PR/src/include/common.h
index a4a5e99..77c9e9a 100644
--- a/PR/src/include/common.h
+++ b/PR/src/include/common.h
@@ -81,7 +81,7 @@ common.h: Princed Resources : Defines and prototypes common to all PR code
 
 /* File extensions */
 #define RES_FILE_EXTENSIONS   {"raw","bin","bmp","bmp","bmp","plv","mid","pcs","pal","pal","pal","pal","plv","txt","wav"}
-#define RES_FILE_TYPES        {"autodetect","binary","image","image-mono","image-full","pop1level","mini","pcspeaker","palette-pop1-4bits","palette-pop1-guards","palette-mono","palette-pop2-320cols","pop2level","text","wave"}
+#define RES_FILE_TYPES        {"autodetect","binary","image","image-mono","image-full","pop1level","midi","pcspeaker","palette-pop1-4bits","palette-pop1-guards","palette-mono","palette-pop2-320cols","pop2level","text","wave"}
 #define RES_FILE_TYPES_COUNT  15
 
 typedef enum {
diff --git a/PR/src/lib/object/sound/sound_common.c b/PR/src/lib/object/sound/sound_common.c
index 1a8c50a..35c10f5 100644
--- a/PR/src/lib/object/sound/sound_common.c
+++ b/PR/src/lib/object/sound/sound_common.c
@@ -106,3 +106,4 @@ int objectSoundSet(void* o,tResource* res, tSoundType soundType) {
 	mWriteFileInDatFile(res);
 	return PR_RESULT_SUCCESS;
 }
+