Changeset: bff05c3984a1 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=bff05c3984a1
Modified Files:
        clients/src/mapiclient/mclient.c
Branch: Oct2010
Log Message:

On Windows, use 79 columns by default.
The command window seems to always be 80 wide, but we can't use the
last column because then we get a blank line due to line wrap.


diffs (15 lines):

diff -r 77b5ee7cd20f -r bff05c3984a1 clients/src/mapiclient/mclient.c
--- a/clients/src/mapiclient/mclient.c  Fri Oct 29 10:53:50 2010 +0200
+++ b/clients/src/mapiclient/mclient.c  Fri Oct 29 15:10:39 2010 +0200
@@ -1301,7 +1301,11 @@
                        pagewidth = ws.ws_col;
                else
 #endif
+#ifdef WIN32
+                       pagewidth = 79;  /* 80 columns minus 1 for the edge */
+#else
                        pagewidth = -1;
+#endif
        }
 }
 
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list

Reply via email to