gthumb r2364 - in trunk: . src
- From: mjc svn gnome org
- To: svn-commits-list gnome org
- Subject: gthumb r2364 - in trunk: . src
- Date: Thu, 31 Jul 2008 16:16:00 +0000 (UTC)
Author: mjc
Date: Thu Jul 31 16:16:00 2008
New Revision: 2364
URL: http://svn.gnome.org/viewvc/gthumb?rev=2364&view=rev
Log:
2008-07-31 Michael J. Chudobiak <mjc svn gnome org>
* NEWS:
* src/catalog-web-exporter.c: (gth_parsed_doc_print):
Fix for Bug #544893: Crash in web album <gthumb:if/>.
Patch by Christophe Bisiere.
Modified:
trunk/ChangeLog
trunk/NEWS
trunk/src/catalog-web-exporter.c
Modified: trunk/NEWS
==============================================================================
--- trunk/NEWS (original)
+++ trunk/NEWS Thu Jul 31 16:16:00 2008
@@ -73,6 +73,7 @@
text entry is focused does nothing
* Fixed bug #512374 - array accessed past end.
* Fixed bug #543584 - fix build with libgphoto2 2.4.2
+ * Fixed bug #544893 - Crash in web album <gthumb:if/>
version 2.10.8
--------------
Modified: trunk/src/catalog-web-exporter.c
==============================================================================
--- trunk/src/catalog-web-exporter.c (original)
+++ trunk/src/catalog-web-exporter.c Thu Jul 31 16:16:00 2008
@@ -1856,6 +1856,9 @@
break;
case GTH_TAG_IF:
+ idx = MIN (ce->image, ce->n_images - 1);
+ idata = g_list_nth (ce->file_list, idx)->data;
+ ce->eval_image = idata;
for (scan = tag->value.cond_list; scan; scan = scan->next) {
GthCondition *cond = scan->data;
if (expression_value (ce, cond->expr) != 0) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]