From bfdc3d14904fc2d46af02ecf180ed15d1a44d957 Mon Sep 17 00:00:00 2001 From: Dave Neary Date: Fri, 2 Apr 2004 09:41:42 +0000 Subject: [PATCH] Added .jpe to the list of extensions that the jpeg plug-in recognises. 2004-04-02 Dave Neary * plug-ins/common/jpeg.c: Added .jpe to the list of extensions that the jpeg plug-in recognises. Fixes bug #138776. --- ChangeLog | 5 +++++ plug-ins/common/jpeg.c | 4 ++-- plug-ins/jpeg/jpeg-load.c | 4 ++-- plug-ins/jpeg/jpeg-load.h | 4 ++-- plug-ins/jpeg/jpeg-save.c | 4 ++-- plug-ins/jpeg/jpeg-save.h | 4 ++-- plug-ins/jpeg/jpeg.c | 4 ++-- plug-ins/jpeg/jpeg.h | 4 ++-- 8 files changed, 19 insertions(+), 14 deletions(-) diff --git a/ChangeLog b/ChangeLog index f522326cc1..679f068b68 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2004-04-02 Dave Neary + + * plug-ins/common/jpeg.c: Added .jpe to the list of extensions + that the jpeg plug-in recognises. Fixes bug #138776. + 2004-04-01 Sven Neumann * app/gui/user-install-dialog.c: unset the bg_pixmap and tweak diff --git a/plug-ins/common/jpeg.c b/plug-ins/common/jpeg.c index 16d91824ea..4401db9a35 100644 --- a/plug-ins/common/jpeg.c +++ b/plug-ins/common/jpeg.c @@ -350,11 +350,11 @@ query (void) save_args, NULL); gimp_register_magic_load_handler ("file_jpeg_load", - "jpg,jpeg", + "jpg,jpeg,jpe", "", "6,string,JFIF,6,string,Exif"); gimp_register_save_handler ("file_jpeg_save", - "jpg,jpeg", + "jpg,jpeg,jpe", ""); } diff --git a/plug-ins/jpeg/jpeg-load.c b/plug-ins/jpeg/jpeg-load.c index 16d91824ea..4401db9a35 100644 --- a/plug-ins/jpeg/jpeg-load.c +++ b/plug-ins/jpeg/jpeg-load.c @@ -350,11 +350,11 @@ query (void) save_args, NULL); gimp_register_magic_load_handler ("file_jpeg_load", - "jpg,jpeg", + "jpg,jpeg,jpe", "", "6,string,JFIF,6,string,Exif"); gimp_register_save_handler ("file_jpeg_save", - "jpg,jpeg", + "jpg,jpeg,jpe", ""); } diff --git a/plug-ins/jpeg/jpeg-load.h b/plug-ins/jpeg/jpeg-load.h index 16d91824ea..4401db9a35 100644 --- a/plug-ins/jpeg/jpeg-load.h +++ b/plug-ins/jpeg/jpeg-load.h @@ -350,11 +350,11 @@ query (void) save_args, NULL); gimp_register_magic_load_handler ("file_jpeg_load", - "jpg,jpeg", + "jpg,jpeg,jpe", "", "6,string,JFIF,6,string,Exif"); gimp_register_save_handler ("file_jpeg_save", - "jpg,jpeg", + "jpg,jpeg,jpe", ""); } diff --git a/plug-ins/jpeg/jpeg-save.c b/plug-ins/jpeg/jpeg-save.c index 16d91824ea..4401db9a35 100644 --- a/plug-ins/jpeg/jpeg-save.c +++ b/plug-ins/jpeg/jpeg-save.c @@ -350,11 +350,11 @@ query (void) save_args, NULL); gimp_register_magic_load_handler ("file_jpeg_load", - "jpg,jpeg", + "jpg,jpeg,jpe", "", "6,string,JFIF,6,string,Exif"); gimp_register_save_handler ("file_jpeg_save", - "jpg,jpeg", + "jpg,jpeg,jpe", ""); } diff --git a/plug-ins/jpeg/jpeg-save.h b/plug-ins/jpeg/jpeg-save.h index 16d91824ea..4401db9a35 100644 --- a/plug-ins/jpeg/jpeg-save.h +++ b/plug-ins/jpeg/jpeg-save.h @@ -350,11 +350,11 @@ query (void) save_args, NULL); gimp_register_magic_load_handler ("file_jpeg_load", - "jpg,jpeg", + "jpg,jpeg,jpe", "", "6,string,JFIF,6,string,Exif"); gimp_register_save_handler ("file_jpeg_save", - "jpg,jpeg", + "jpg,jpeg,jpe", ""); } diff --git a/plug-ins/jpeg/jpeg.c b/plug-ins/jpeg/jpeg.c index 16d91824ea..4401db9a35 100644 --- a/plug-ins/jpeg/jpeg.c +++ b/plug-ins/jpeg/jpeg.c @@ -350,11 +350,11 @@ query (void) save_args, NULL); gimp_register_magic_load_handler ("file_jpeg_load", - "jpg,jpeg", + "jpg,jpeg,jpe", "", "6,string,JFIF,6,string,Exif"); gimp_register_save_handler ("file_jpeg_save", - "jpg,jpeg", + "jpg,jpeg,jpe", ""); } diff --git a/plug-ins/jpeg/jpeg.h b/plug-ins/jpeg/jpeg.h index 16d91824ea..4401db9a35 100644 --- a/plug-ins/jpeg/jpeg.h +++ b/plug-ins/jpeg/jpeg.h @@ -350,11 +350,11 @@ query (void) save_args, NULL); gimp_register_magic_load_handler ("file_jpeg_load", - "jpg,jpeg", + "jpg,jpeg,jpe", "", "6,string,JFIF,6,string,Exif"); gimp_register_save_handler ("file_jpeg_save", - "jpg,jpeg", + "jpg,jpeg,jpe", ""); }