From 7cb3c316a4b062048fe860f0a798c79836aa3359 Mon Sep 17 00:00:00 2001 From: Sven Neumann Date: Fri, 13 Jun 2003 11:04:16 +0000 Subject: [PATCH] fixed a typo I introduced yesterday. 2003-06-13 Sven Neumann * app/core/gimptemplate.c (gimp_template_create_image): fixed a typo I introduced yesterday. --- ChangeLog | 5 +++++ app/core/gimptemplate.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 9c3bc56d9e..50c1191f14 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2003-06-13 Sven Neumann + + * app/core/gimptemplate.c (gimp_template_create_image): fixed a + typo I introduced yesterday. + 2003-06-12 Dave Neary * plug-ins/common/tga.c: Applied a patch from Yohei Honda diff --git a/app/core/gimptemplate.c b/app/core/gimptemplate.c index d1b7206d20..288dcbaa1c 100644 --- a/app/core/gimptemplate.c +++ b/app/core/gimptemplate.c @@ -452,7 +452,7 @@ gimp_template_create_image (Gimp *gimp, type = (template->image_type == GIMP_RGB) ? GIMP_RGBA_IMAGE : GIMP_GRAYA_IMAGE; break; default: - type = (template->image_type == GIMP_RGB) ? GIMP_RGBA_IMAGE : GIMP_GRAYA_IMAGE; + type = (template->image_type == GIMP_RGB) ? GIMP_RGB_IMAGE : GIMP_GRAY_IMAGE; break; }