Author: ed
Date: Sun Jun 26 18:25:10 2011
New Revision: 223574
URL: http://svn.freebsd.org/changeset/base/223574

Log:
  Fix various whitespace inconsistencies in sys/teken.

Modified:
  head/sys/teken/demo/teken_demo.c
  head/sys/teken/gensequences
  head/sys/teken/libteken/teken.3
  head/sys/teken/teken.c
  head/sys/teken/teken_subr.h

Modified: head/sys/teken/demo/teken_demo.c
==============================================================================
--- head/sys/teken/demo/teken_demo.c    Sun Jun 26 17:54:11 2011        
(r223573)
+++ head/sys/teken/demo/teken_demo.c    Sun Jun 26 18:25:10 2011        
(r223574)
@@ -88,7 +88,7 @@ printchar(const teken_pos_t *p)
 
        getyx(stdscr, y, x);
 
-       px = &buffer[p->tp_col][p->tp_row];
+       px = &buffer[p->tp_col][p->tp_row];
 
        /* Convert Unicode to UTF-8. */
        if (px->c < 0x80) {
@@ -169,10 +169,10 @@ test_copy(void *s __unused, const teken_
         * Copying is a little tricky. We must make sure we do it in
         * correct order, to make sure we don't overwrite our own data.
         */
-       
+
        nrow = r->tr_end.tp_row - r->tr_begin.tp_row;
        ncol = r->tr_end.tp_col - r->tr_begin.tp_col;
-       
+
        if (p->tp_row < r->tr_begin.tp_row) {
                /* Copy from top to bottom. */
                if (p->tp_col < r->tr_begin.tp_col) {

Modified: head/sys/teken/gensequences
==============================================================================
--- head/sys/teken/gensequences Sun Jun 26 17:54:11 2011        (r223573)
+++ head/sys/teken/gensequences Sun Jun 26 18:25:10 2011        (r223574)
@@ -3,7 +3,7 @@
 #-
 # Copyright (c) 2008-2009 Ed Schouten <e...@freebsd.org>
 # All rights reserved.
-# 
+#
 # Redistribution and use in source and binary forms, with or without
 # modification, are permitted provided that the following conditions
 # are met:
@@ -12,7 +12,7 @@
 # 2. Redistributions in binary form must reproduce the above copyright
 #    notice, this list of conditions and the following disclaimer in the
 #    documentation and/or other materials provided with the distribution.
-# 
+#
 # THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
 # ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE

Modified: head/sys/teken/libteken/teken.3
==============================================================================
--- head/sys/teken/libteken/teken.3     Sun Jun 26 17:54:11 2011        
(r223573)
+++ head/sys/teken/libteken/teken.3     Sun Jun 26 18:25:10 2011        
(r223574)
@@ -148,7 +148,7 @@ These defaults can be modified using
 and
 .Fn teken_set_defattr .
 .Pp
-The 
+The
 .Fn teken_get_sequence
 function is a utility function that can be used to obtain escape
 sequences of special keyboard keys, generated by user input.

Modified: head/sys/teken/teken.c
==============================================================================
--- head/sys/teken/teken.c      Sun Jun 26 17:54:11 2011        (r223573)
+++ head/sys/teken/teken.c      Sun Jun 26 18:25:10 2011        (r223574)
@@ -526,7 +526,7 @@ teken_get_sequence(teken_t *t, unsigned 
        /* Default xterm sequences. */
        if (k < sizeof special_strings_normal / sizeof(char *))
                return (special_strings_normal[k]);
-       
+
        return (NULL);
 }
 

Modified: head/sys/teken/teken_subr.h
==============================================================================
--- head/sys/teken/teken_subr.h Sun Jun 26 17:54:11 2011        (r223573)
+++ head/sys/teken/teken_subr.h Sun Jun 26 18:25:10 2011        (r223574)
@@ -260,7 +260,7 @@ teken_subr_cursor_backward_tabulation(te
                        break;
 
                t->t_cursor.tp_col--;
-               
+
                /* Tab marker set. */
                if (teken_tab_isset(t, t->t_cursor.tp_col))
                        ntabs--;
@@ -303,7 +303,7 @@ teken_subr_cursor_forward_tabulation(tek
                        break;
 
                t->t_cursor.tp_col++;
-               
+
                /* Tab marker set. */
                if (teken_tab_isset(t, t->t_cursor.tp_col))
                        ntabs--;
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to