Author: akv
Date: 2012-04-18 21:27:39 +0200 (Wed, 18 Apr 2012)
New Revision: 4184
Modified:
branches/4175-enfuse/src/rs-enfuse.c
Log:
Added last
Modified: branches/4175-enfuse/src/rs-enfuse.c
===================================================================
--- branches/4175-enfuse/src/rs-enfuse.c 2012-04-18 19:17:36 UTC (rev
4183)
+++ branches/4175-enfuse/src/rs-enfuse.c 2012-04-18 19:27:39 UTC (rev
4184)
@@ -163,6 +163,7 @@
GString *outname = g_string_new("");
GString *fullpath = NULL;
gchar *first;
+ gchar *last;
gchar *align_options = NULL;
gchar *enfuse_options = NULL;
@@ -171,8 +172,10 @@
for(i=0; i<num_selected; i++)
{
name = (gchar*) g_list_nth_data(files, i);
- if (i == 0)
+ if (i == 0) /* FIXME: need to find the darkest */
first = g_strdup(name);
+ if (i == num_selected-1) /* FIXME: need to find the brightest */
+ last = g_strdup(name);
file = g_malloc(sizeof(char)*strlen(name));
sscanf(g_path_get_basename(name), "%[^.]", file);
outname = g_string_append(outname, file);
_______________________________________________
Rawstudio-commit mailing list
[email protected]
http://rawstudio.org/cgi-bin/mailman/listinfo/rawstudio-commit