Ignore:
Timestamp:
Nov 18, 2009, 4:31:49 PM (11 years ago)
Author:
Pascal Terjan
Message:
  • Drop withespaces
File:
1 edited

Legend:

Unmodified
Added
Removed
  • neercs/trunk/src/main.c

    r3940 r3942  
    8383
    8484    int mainret = -1;
    85        
     85
    8686    screen_list = create_screen_list();
    8787    screen_list->default_shell = getenv("SHELL");
     
    152152
    153153    mainloop(screen_list);
    154        
     154
    155155    /* Clean up */
    156156    mainret = 0;
     
    175175    if(screen_list->cv)
    176176        caca_free_canvas(screen_list->cv);
    177    
     177
    178178    for(i = 0; i < screen_list->count; i++)
    179179    {
     
    183183    if(screen_list->socket_path[SOCK_SERVER])
    184184        free(screen_list->socket_path[SOCK_SERVER]);
    185    
     185
    186186    if(screen_list->socket_path[SOCK_CLIENT])
    187187    {
     
    189189        free(screen_list->socket_path[SOCK_CLIENT]);
    190190    }
    191    
     191
    192192    if(screen_list->socket[SOCK_CLIENT])
    193193        close(screen_list->socket[SOCK_CLIENT]);
    194    
     194
    195195    if(screen_list->socket[SOCK_SERVER])
    196196        close(screen_list->socket[SOCK_SERVER]);
     
    200200
    201201    option = screen_list->config;
    202    
     202
    203203    while(option)
    204204    {
     
    209209        free(kromeugnon);
    210210    }
    211    
     211
    212212    for(i=0; i<screen_list->recurrent_list->count; i++)
    213213    {
     
    220220    if(screen_list->recurrent_list)
    221221        free(screen_list->recurrent_list);
    222    
     222
    223223    if(screen_list->session_name)
    224224        free(screen_list->session_name);
     
    226226    if(screen_list->title)
    227227        free(screen_list->title);
    228    
     228
    229229    free(screen_list);
    230230}
     
    270270    screen_list->locked = 0;
    271271    screen_list->lock_offset = 0;
    272     screen_list->lock_on_detach = 0;   
     272    screen_list->lock_on_detach = 0;
    273273    screen_list->attached = 1;
    274274    screen_list->socket[SOCK_SERVER] = 0;
     
    286286    screen_list->attach = 0;
    287287    screen_list->forceattach = 0;
    288    
     288
    289289    screen_list->force_refresh = 0;
    290290    screen_list->cube.in_switch = 0;
Note: See TracChangeset for help on using the changeset viewer.