Index: neercs/trunk/src/effects.c
===================================================================
--- neercs/trunk/src/effects.c	(revision 2404)
+++ neercs/trunk/src/effects.c	(revision 2421)
@@ -25,5 +25,5 @@
 
 
-void draw_thumbnails(cucul_canvas_t *cv, struct screen_list *screen_list, int pty)
+void draw_thumbnails(cucul_canvas_t *cv, struct screen_list *screen_list)
 {
                 char const * const *fonts;
@@ -66,5 +66,5 @@
                         cucul_set_color_ansi(cv, CUCUL_WHITE, CUCUL_BLUE);
 
-                        if(pty == i)
+                        if(screen_list->pty == i)
                             cucul_draw_cp437_box(cv,20 * i,
                                                  cucul_get_canvas_height(cv) - 6, 19, 6);
@@ -82,5 +82,5 @@
 
 /* FIXME, make this stuff more configurable */
-void draw_status(cucul_canvas_t *cv, struct screen_list *screen_list, int pty)
+void draw_status(cucul_canvas_t *cv, struct screen_list *screen_list)
 {
     int x = 0, y = cucul_get_canvas_height(cv) - 1;
@@ -116,5 +116,5 @@
     {
         char text[256];
-        sprintf(text, "%d/%d", pty+1, screen_list->count);
+        sprintf(text, "%d/%d", screen_list->pty+1, screen_list->count);
         x++;
         cucul_set_color_ansi(cv, CUCUL_LIGHTBLUE, CUCUL_BLUE);
@@ -169,5 +169,5 @@
 
 
-void draw_help(cucul_canvas_t *cv, struct screen_list *screen_list, int pty)
+void draw_help(cucul_canvas_t *cv, struct screen_list *screen_list)
 {
     int w = 65, h = 20;
@@ -197,5 +197,4 @@
     cucul_printf(cv, x, y++, "");
     cucul_printf(cv, x, y++, "All shortcuts are in format 'ctrl-a-X' where X is :");
-
     cucul_printf(cv, x, y++, "n:\t Next window");
     cucul_printf(cv, x, y++, "p:\t Previous window");
