[gnome-terminal/gnome-3-34-ntfy-opn-ttl-ts: 15/16] screen: Style fix



commit 252548b6f61acbc9775f22e12bb9a6a055d73edb
Author: Debarshi Ray <debarshir gnome org>
Date:   Thu Jun 30 18:14:36 2016 +0200

    screen: Style fix
    
    This brings the code in line with how it was before
    de0dc7c2649c42e2aa02a66e4be27d262b34452d
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1296110

 src/terminal-screen.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/terminal-screen.c b/src/terminal-screen.c
index 7babf22b..181552df 100644
--- a/src/terminal-screen.c
+++ b/src/terminal-screen.c
@@ -717,7 +717,7 @@ terminal_screen_new (GSettings       *profile,
   /* If given an initial title, strip it of control characters and
    * feed it to the terminal.
    */
-  if (title != NULL) {
+  if (title) {
     GString *seq;
     const char *p;
 


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