Changeset 7869e48 for owl.c


Ignore:
Timestamp:
Jan 12, 2013, 1:43:13 PM (11 years ago)
Author:
Jason Gross <jgross@mit.edu>
Children:
e3a0d71, 4485285
Parents:
4626016
git-author:
Jason Gross <jgross@mit.edu> (01/12/13 13:13:18)
git-committer:
Jason Gross <jgross@mit.edu> (01/12/13 13:43:13)
Message:
Remove trailing whitespace

This commit was made with the command sequence

    for i in $(git ls-files | tr '\n' ' ');
    do
      echo $i; sed -i s'/\s\+$//g' "$(readlink -f $i)";
    done
File:
1 edited

Legend:

Unmodified
Added
Removed
  • owl.c

    r4d9e311c r7869e48  
    311311      char utf8buf[7];
    312312      memset(utf8buf, '\0', 7);
    313      
     313
    314314      utf8buf[0] = j.ch;
    315      
     315
    316316      if ((j.ch & 0xc0) && (~j.ch & 0x20)) bytes = 2;
    317317      else if ((j.ch & 0xe0) && (~j.ch & 0x10)) bytes = 3;
     
    320320      else if ((j.ch & 0xfc) && (~j.ch & 0x02)) bytes = 6;
    321321      else bytes = 1;
    322      
     322
    323323      for (i = 1; i < bytes; i++) {
    324324        int tmp = wgetch(g->input_pad);
     
    333333        utf8buf[i] = tmp;
    334334      }
    335      
     335
    336336      if (j.ch != ERR) {
    337337        if (g_utf8_validate(utf8buf, -1, NULL)) {
     
    376376  /* Send a message to the main thread. */
    377377  owl_select_post_task(sig_handler_main_thread,
    378                        GINT_TO_POINTER(siginfo->si_signo), 
     378                       GINT_TO_POINTER(siginfo->si_signo),
    379379                       NULL, g_main_context_default());
    380380}
     
    421421#if OWL_STDERR_REDIR
    422422
    423 /* Replaces stderr with a pipe so that we can read from it. 
     423/* Replaces stderr with a pipe so that we can read from it.
    424424 * Returns the fd of the pipe from which stderr can be read. */
    425425int stderr_replace(void)
Note: See TracChangeset for help on using the changeset viewer.