Changeset: 983476cad5af for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=983476cad5af
Modified Files:
        clients/src/mapiclient/mclient.mx
Branch: Jun2010
Log Message:

fix regression where headers would unnecessarily be squeezed if space was 
available


diffs (18 lines):

diff -r 2ffda71f971d -r 983476cad5af clients/src/mapiclient/mclient.mx
--- a/clients/src/mapiclient/mclient.mx Tue Aug 17 09:30:48 2010 +0200
+++ b/clients/src/mapiclient/mclient.mx Tue Aug 17 10:15:14 2010 +0200
@@ -1123,11 +1123,9 @@
                        /* correct the lengths in case only the headers were
                         * squeezed, if the content itself is wider, the headers
                         * will be squeezed to their size (see below) */
-                       if (lentotal == total) {
-                               for (i = 0; i < fields; i++)
-                                       if (len[i] < hdr[i])
-                                               len[i] = hdr[i];
-                       }
+                       for (i = 0; i < fields; i++)
+                               if (len[i] < hdr[i])
+                                       len[i] = hdr[i];
 
                        /* worst case: lentotal = total, which means it still
                         * doesn't fit, values will be squeezed next */
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list

Reply via email to