[Pkg-libvirt-commits] [libguestfs] 21/63: mllib: Wrap errors at column 76 instead of column 72.

Hilko Bengen bengen at moszumanska.debian.org
Fri Oct 3 14:43:26 UTC 2014


This is an automated email from the git hooks/post-receive script.

bengen pushed a commit to annotated tag debian/1%1.27.39-1
in repository libguestfs.

commit 711c32b0d9d31dc554b78f471be4b529eab4dbba
Author: Richard W.M. Jones <rjones at redhat.com>
Date:   Wed Sep 3 12:14:27 2014 +0100

    mllib: Wrap errors at column 76 instead of column 72.
    
    Allows for slightly wider, better looking error messages.
---
 mllib/common_utils.ml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mllib/common_utils.ml b/mllib/common_utils.ml
index 871390a..bb1aa73 100644
--- a/mllib/common_utils.ml
+++ b/mllib/common_utils.ml
@@ -67,7 +67,7 @@ and _wrap chan indent column i len str =
   if i < len then (
     let (j, break) = _wrap_find_next_break i len str in
     let next_column =
-      if column + (j-i) >= 72 then (
+      if column + (j-i) >= 76 then (
         output_char chan '\n';
         output_spaces chan indent;
         indent + (j-i) + 1

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-libvirt/libguestfs.git



More information about the Pkg-libvirt-commits mailing list