[vte] Revert "pyt: Fix syntax error due missing bracket"



commit 36c8284cfe0ddf21affaaaeb33ded32f4a1048ac
Author: Christian Persch <chpe gnome org>
Date:   Sun Nov 29 20:57:54 2015 +0100

    Revert "pyt: Fix syntax error due missing bracket"
    
    This reverts commit 1e455473a45ff1a03c0444345b1017ac078f9778.

 src/pty.cc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/pty.cc b/src/pty.cc
index 0bd0b0b..c137eb5 100644
--- a/src/pty.cc
+++ b/src/pty.cc
@@ -765,7 +765,7 @@ _vte_pty_getpt(GError **error)
         /* tty_ioctl(4) -> every read() gives an extra byte at the beginning
          * notifying us of stop/start (^S/^Q) events. */
         int one = 1;
-        if (ioctl(fd, TIOCPKT, &one) < 0) {
+        if (ioctl(fd, TIOCPKT, &one) < 0)
                 int errsv = errno;
                 g_set_error(error, VTE_PTY_ERROR,
                             VTE_PTY_ERROR_PTY98_FAILED,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]