mcabber/src/screen.c
changeset 393 f8f3c7493457
parent 389 6e895f397474
child 412 9c640ee3bae3
equal deleted inserted replaced
392:6329c9601704 393:f8f3c7493457
     1 /*
     1 /*
     2  * screen.c     -- UI stuff
     2  * screen.c     -- UI stuff
     3  * 
     3  *
     4  * Copyright (C) 2005 Mikael Berthe <bmikael@lists.lilotux.net>
     4  * Copyright (C) 2005 Mikael Berthe <bmikael@lists.lilotux.net>
     5  * Parts of this file come from the Cabber project <cabber@ajmacias.com>
     5  * Parts of this file come from the Cabber project <cabber@ajmacias.com>
     6  *
     6  *
     7  * This program is free software; you can redistribute it and/or modify
     7  * This program is free software; you can redistribute it and/or modify
     8  * it under the terms of the GNU General Public License as published by
     8  * it under the terms of the GNU General Public License as published by
   275   int x;
   275   int x;
   276   int y;
   276   int y;
   277   int lines;
   277   int lines;
   278   int cols;
   278   int cols;
   279   window_entry_t *tmp;
   279   window_entry_t *tmp;
   280   
   280 
   281   do {
   281   do {
   282     tmp = calloc(1, sizeof(window_entry_t));
   282     tmp = calloc(1, sizeof(window_entry_t));
   283   } while (!tmp);
   283   } while (!tmp);
   284 
   284 
   285   // Dimensions
   285   // Dimensions