diff options
author | Dan Fandrich <dan@coneharvesters.com> | 2002-01-05 07:29:41 +0000 |
---|---|---|
committer | Dan Fandrich <dan@coneharvesters.com> | 2002-01-05 07:29:41 +0000 |
commit | 36f1a886841ee8a5a685f779d905c5267d4ee993 (patch) | |
tree | 2cde8854eecb9dcca3141ba95e1883f5844b9d8f | |
parent | 31c340e4f453e8cc8ff258c503c80102aabadbc0 (diff) | |
download | libgphoto2-36f1a886841ee8a5a685f779d905c5267d4ee993.tar.gz |
Use predefined MIME types where applicable
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3727 67ed7778-7388-44ab-90cf-0a291f65f57c
-rw-r--r-- | camlibs/ptp/library.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/camlibs/ptp/library.c b/camlibs/ptp/library.c index 7d213b90b..cda21e1a7 100644 --- a/camlibs/ptp/library.c +++ b/camlibs/ptp/library.c @@ -77,7 +77,7 @@ static struct { short n; const char *txt; } ptp_errors[] = { - {PTP_RC_Undefined, N_("PTP Udefined Error")}, + {PTP_RC_Undefined, N_("PTP Undefined Error")}, {PTP_RC_OK, N_("PTP OK!")}, {PTP_RC_GeneralError, N_("PTP General Error")}, {PTP_RC_SessionNotOpen, N_("PTP Session Not Open")}, @@ -98,7 +98,7 @@ static struct { {PTP_RC_PartialDeletion, N_("PTP Partial Deletion")}, {PTP_RC_StoreNotAvailable, N_("PTP Store Not Available")}, {PTP_RC_SpecyficationByFormatUnsupported, - N_("PTP Specyfication By Format Unsupported")}, + N_("PTP Specification By Format Unsupported")}, /* spelling */ {PTP_RC_NoValidObjectInfo, N_("PTP No Valid Object Info")}, {PTP_RC_InvalidCodeFormat, N_("PTP Invalid Code Format")}, {PTP_RC_UnknownVendorCode, N_("PTP Unknown Vendor Code")}, @@ -193,24 +193,24 @@ static struct { {PTP_OFC_HTML, "text/html"}, {PTP_OFC_DPOF, "text/plain"}, {PTP_OFC_AIFF, "audio/x-aiff"}, - {PTP_OFC_WAV, "audio/x-wav"}, + {PTP_OFC_WAV, GP_MIME_WAV}, {PTP_OFC_MP3, "audio/basic"}, - {PTP_OFC_AVI, "video/x-msvideo"}, + {PTP_OFC_AVI, GP_MIME_AVI}, {PTP_OFC_MPEG, "video/mpeg"}, {PTP_OFC_ASF, "vide/x-asf"}, - {PTP_OFC_EXIF_JPEG, "image/jpeg"}, + {PTP_OFC_EXIF_JPEG, GP_MIME_JPEG}, {PTP_OFC_TIFF_EP, "image/x-tiffep"}, {PTP_OFC_FlashPix, "image/x-flashpix"}, - {PTP_OFC_BMP, "image/x-bitmap"}, + {PTP_OFC_BMP, GP_MIME_BMP}, {PTP_OFC_CIFF, "image/x-ciff"}, {PTP_OFC_Undefined_0x3806, "application/x-unknown"}, {PTP_OFC_GIF, "image/gif"}, - {PTP_OFC_JFIF, "image/jpeg"}, + {PTP_OFC_JFIF, GP_MIME_JPEG}, {PTP_OFC_PCD, "image/x-pcd"}, {PTP_OFC_PICT, "image/x-pict"}, - {PTP_OFC_PNG, "image/png"}, + {PTP_OFC_PNG, GP_MIME_PNG}, {PTP_OFC_Undefined_0x380C, "application/x-unknown"}, - {PTP_OFC_TIFF, "image/tiff"}, + {PTP_OFC_TIFF, GP_MIME_TIFF}, {PTP_OFC_TIFF_IT, "image/x-tiffit"}, {PTP_OFC_JP2, "image/x-jpeg2000bff"}, {PTP_OFC_JPX, "image/x-jpeg2000eff"}, |