fixed a typo I introduced yesterday.

2003-06-13  Sven Neumann  <sven@gimp.org>

	* app/core/gimptemplate.c (gimp_template_create_image): fixed a
	typo I introduced yesterday.
This commit is contained in:
Sven Neumann 2003-06-13 11:04:16 +00:00 committed by Sven Neumann
parent a224541d0d
commit 7cb3c316a4
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2003-06-13 Sven Neumann <sven@gimp.org>
* app/core/gimptemplate.c (gimp_template_create_image): fixed a
typo I introduced yesterday.
2003-06-12 Dave Neary <bolsh@gimp.org>
* plug-ins/common/tga.c: Applied a patch from Yohei Honda

View File

@ -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;
}