diff mcabber/src/screen.c @ 1159:53c0c5be43fa

Small fixes, typos and cleanups
author Mikael Berthe <mikael@lilotux.net>
date Thu, 15 Feb 2007 23:20:24 +0100
parents 5c857f0f0ab8
children 14f5876b5555
line wrap: on
line diff
--- a/mcabber/src/screen.c	Thu Feb 15 21:49:39 2007 +0100
+++ b/mcabber/src/screen.c	Thu Feb 15 23:20:24 2007 +0100
@@ -470,17 +470,17 @@
       else
         tmp->bd=(scr_new_buddy(id, TRUE))->bd;
       g_free(id);
-    }
-    else {// Load buddy history from file (if enabled)
+    } else {  // Load buddy history from file (if enabled)
       tmp->bd = g_new0(buffdata, 1);
-      hlog_read_history(title, &tmp->bd->hbuf, maxX - Roster_Width - PREFIX_WIDTH);
+      hlog_read_history(title, &tmp->bd->hbuf,
+                        maxX - Roster_Width - PREFIX_WIDTH);
     }
 
     id = g_strdup(title);
     mc_strtolower(id);
     g_hash_table_insert(winbufhash, id, tmp);
   } else {
-    tmp->bd = g_new0(buffdata, 1);    
+    tmp->bd = g_new0(buffdata, 1);
   }
   return tmp;
 }
@@ -583,8 +583,8 @@
   }
   g_free(lines);
 }
-    
-static winbuf * scr_CreateWindow(const char *winId, int special, int dont_show)
+
+static winbuf *scr_CreateWindow(const char *winId, int special, int dont_show)
 {
   if (special) {
     if (!statusWindow) {