2007-01-04 [wwp] 2.6.1cvs104
authorTristan Chabredier <wwp@claws-mail.org>
Thu, 4 Jan 2007 09:00:10 +0000 (09:00 +0000)
committerTristan Chabredier <wwp@claws-mail.org>
Thu, 4 Jan 2007 09:00:10 +0000 (09:00 +0000)
* src/image_viewer.c
Force operator precedence (fix a compiler warning).

ChangeLog
PATCHSETS
configure.ac
src/image_viewer.c

index 2f8ffd7..4632483 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2007-01-04 [wwp]       2.6.1cvs104
+
+       * src/image_viewer.c
+               Force operator precedence (fix a compiler warning).
+
 2007-01-04 [colin]     2.6.1cvs103
 
        * src/image_viewer.c
index 7c60073..eb0f9f8 100644 (file)
--- a/PATCHSETS
+++ b/PATCHSETS
 ( cvs diff -u -r 1.382.2.348 -r 1.382.2.349 src/compose.c;  cvs diff -u -r 1.94.2.113 -r 1.94.2.114 src/messageview.c;  cvs diff -u -r 1.150.2.86 -r 1.150.2.87 src/procmsg.c;  cvs diff -u -r 1.60.2.37 -r 1.60.2.38 src/procmsg.h;  ) > 2.6.1cvs101.patchset
 ( cvs diff -u -r 1.12.2.19 -r 1.12.2.20 src/html.c;  cvs diff -u -r 1.3.2.7 -r 1.3.2.8 src/html.h;  ) > 2.6.1cvs102.patchset
 ( cvs diff -u -r 1.1.2.13 -r 1.1.2.14 src/image_viewer.c;  cvs diff -u -r 1.94.2.114 -r 1.94.2.115 src/messageview.c;  ) > 2.6.1cvs103.patchset
+( cvs diff -u -r 1.1.2.14 -r 1.1.2.15 src/image_viewer.c;  ) > 2.6.1cvs104.patchset
index af2cc66..ac74f73 100644 (file)
@@ -11,7 +11,7 @@ MINOR_VERSION=6
 MICRO_VERSION=1
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=103
+EXTRA_VERSION=104
 EXTRA_RELEASE=
 EXTRA_GTK2_VERSION=
 
index 1223536..f481874 100644 (file)
@@ -85,7 +85,7 @@ static void image_viewer_load_file(ImageViewer *imageviewer, const gchar *imgfil
                if (avail_width > 8) avail_width -= 8;
                if (avail_height > 8) avail_height -= 8;
                if (avail_width - 100 > 0 &&
-                   w > avail_width || h > avail_height)
+                   (w > avail_width || h > avail_height))
                        pixbuf = gdk_pixbuf_new_from_file_at_scale(imgfile, avail_width,
                                avail_height, TRUE, &error);
                else