--- a/mcabber/src/main.c Tue Jul 12 17:10:41 2005 +0100
+++ b/mcabber/src/main.c Tue Jul 12 17:19:42 2005 +0100
@@ -1,3 +1,25 @@
+/*
+ * main.c
+ *
+ * Copyright (C) 2005 Mikael Berthe <bmikael@lists.lilotux.net>
+ * Parts of this file come from Cabber <cabber@ajmacias.com>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or (at
+ * your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
+ * USA
+ */
+
#define _GNU_SOURCE
#include <stdio.h>
#include <stdlib.h>
@@ -224,9 +246,10 @@
while (ret != 255) {
key = scr_Getch();
- // The refresh is really an ugly hack, but we need to call doupdate()
- // from time to time to catch the RESIZE events, because getch keep
- // returning ERR until a real key is pressed :-(
+ /* The refresh is really an ugly hack, but we need to call doupdate()
+ from time to time to catch the RESIZE events, because getch keep
+ returning ERR until a real key is pressed :-(
+ */
if (key != ERR) {
ret = process_key(key);
refresh = 0;
--- a/mcabber/src/screen.c Tue Jul 12 17:10:41 2005 +0100
+++ b/mcabber/src/screen.c Tue Jul 12 17:19:42 2005 +0100
@@ -1,3 +1,25 @@
+/*
+ * screen.c -- UI stuff
+ *
+ * Copyright (C) 2005 Mikael Berthe <bmikael@lists.lilotux.net>
+ * Parts of this file come from the Cabber project <cabber@ajmacias.com>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or (at
+ * your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
+ * USA
+ */
+
#include <stdio.h>
#include <stdlib.h>
#include <string.h>