babl r415 - in trunk: . babl tests
- From: martinn svn gnome org
- To: svn-commits-list gnome org
- Subject: babl r415 - in trunk: . babl tests
- Date: Sat, 4 Apr 2009 19:46:35 +0000 (UTC)
Author: martinn
Date: Sat Apr 4 19:46:35 2009
New Revision: 415
URL: http://svn.gnome.org/viewvc/babl?rev=415&view=rev
Log:
Bug 568576 â [PATCH] undefined operation fix
Patch from Stanislav Brabec
Modified:
trunk/ChangeLog
trunk/babl/babl-fish-stats.c
trunk/tests/babl_fish_path_fitness.c
Modified: trunk/babl/babl-fish-stats.c
==============================================================================
--- trunk/babl/babl-fish-stats.c (original)
+++ trunk/babl/babl-fish-stats.c Sat Apr 4 19:46:35 2009
@@ -36,7 +36,8 @@
Babl *source = userdata;
Babl *destination = babl;
- if ((qux++) % babl_formats_count () == qux / babl_formats_count ())
+ qux++;
+ if (qux % babl_formats_count () == qux / babl_formats_count ())
fprintf (output_file, "<td class='cell'> </td>");
else
{
Modified: trunk/tests/babl_fish_path_fitness.c
==============================================================================
--- trunk/tests/babl_fish_path_fitness.c (original)
+++ trunk/tests/babl_fish_path_fitness.c Sat Apr 4 19:46:35 2009
@@ -38,7 +38,8 @@
Babl *source = userdata;
Babl *destination = babl;
- if ((qux++) % babl_formats_count () == qux / babl_formats_count ())
+ qux++;
+ if (qux % babl_formats_count () == qux / babl_formats_count ())
printf (" ");
else
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]