summaryrefslogtreecommitdiff
path: root/libgphoto2/gphoto2-file.c
diff options
context:
space:
mode:
authorMarcus Meissner <marcus@jet.franken.de>2014-11-05 20:38:57 +0000
committerMarcus Meissner <marcus@jet.franken.de>2014-11-05 20:38:57 +0000
commit4b0e3201b36979ec7b5581924839d1acd715f02b (patch)
treeb3afa51cc59fa3d593c781a8c082cf979e0a1fba /libgphoto2/gphoto2-file.c
parent49e5bbdc3a1474c78a209ef81beb3bbee700b239 (diff)
downloadlibgphoto2-4b0e3201b36979ec7b5581924839d1acd715f02b.tar.gz
GP_MIME_TXT == text/plain for .txt
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@15233 67ed7778-7388-44ab-90cf-0a291f65f57c
Diffstat (limited to 'libgphoto2/gphoto2-file.c')
-rw-r--r--libgphoto2/gphoto2-file.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libgphoto2/gphoto2-file.c b/libgphoto2/gphoto2-file.c
index ecc711c7f..349218d14 100644
--- a/libgphoto2/gphoto2-file.c
+++ b/libgphoto2/gphoto2-file.c
@@ -586,6 +586,7 @@ static const char *mime_table[] = {
"mts", GP_MIME_AVCHD,
"m2ts", GP_MIME_AVCHD,
"arw", GP_MIME_ARW,
+ "txt", GP_MIME_TXT,
NULL};
/**
* @param file a #CameraFile
@@ -1073,6 +1074,7 @@ gp_file_adjust_name_for_mime_type (CameraFile *file)
GP_MIME_AVI, "avi",
GP_MIME_CRW, "crw",
GP_MIME_CR2, "cr2",
+ GP_MIME_TXT, "txt",
NULL};
C_PARAMS (file);