Fix mixup in retrieving the filename parameter.

2007-01-03  Tor Lillqvist  <tml@novell.com>

	* plug-ins/common/lcms.c (run): Fix mixup in retrieving the
	filename parameter.


svn path=/trunk/; revision=21626
This commit is contained in:
Tor Lillqvist 2007-01-02 23:34:40 +00:00 committed by Tor Lillqvist
parent ad58091c4c
commit 3f47350ed8
2 changed files with 9 additions and 4 deletions

View File

@ -1,3 +1,8 @@
2007-01-03 Tor Lillqvist <tml@novell.com>
* plug-ins/common/lcms.c (run): Fix mixup in retrieving the
filename parameter.
2007-01-02 Sven Neumann <sven@gimp.org>
* modules/cdisplay_lcms.c: fixed order of parameters (pointed out

View File

@ -313,13 +313,13 @@ run (const gchar *name,
switch (proc)
{
case PROC_SET_RGB:
case PROC_APPLY_RGB:
case PROC_SET:
case PROC_APPLY:
filename = param[2].data.d_string;
/* fallthrough */
case PROC_SET:
case PROC_APPLY:
case PROC_SET_RGB:
case PROC_APPLY_RGB:
run_mode = param[0].data.d_int32;
image = param[1].data.d_image;
break;