Changeset 613


Ignore:
Timestamp:
Mar 15, 2006, 11:03:04 AM (14 years ago)
Author:
Sam Hocevar
Message:
  • Minor coding style fixes.
Location:
libcaca/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/caca/driver_gl.c

    r582 r613  
    105105
    106106    geometry = getenv("CACA_GEOMETRY");
    107     if(geometry && *(geometry))
     107    if(geometry && *geometry)
    108108        sscanf(geometry, "%ux%u", &width, &height);
    109109
  • libcaca/trunk/caca/driver_ncurses.c

    r582 r613  
    412412    sigwinch_kk->resize.resized = 1;
    413413
    414     signal(SIGWINCH, sigwinch_handler);;
     414    signal(SIGWINCH, sigwinch_handler);
    415415}
    416416#endif
  • libcaca/trunk/caca/driver_x11.c

    r582 r613  
    9494
    9595    geometry = getenv("CACA_GEOMETRY");
    96     if(geometry && *(geometry))
     96    if(geometry && *geometry)
    9797        sscanf(geometry, "%ux%u", &width, &height);
    9898
  • libcaca/trunk/src/cacaball.c

    r597 r613  
    166166        for(x = 0; x < METASIZE; x++)
    167167    {
    168         distance = ((METASIZE/2) - x) * ((METASIZE/2) - x)
     168        distance = ((METASIZE/2) - x) * ((METASIZE/2) - x)
    169169                 + ((METASIZE/2) - y) * ((METASIZE/2) - y);
    170170        distance = sqrt(distance) * 64 / METASIZE;
    171         metaball[x + y * METASIZE] = distance > 15 ? 0 : (255 - distance) * 15;
     171        metaball[x + y * METASIZE] = distance > 15 ? 0 : (255 - distance) * 15;
    172172    }
    173173}
Note: See TracChangeset for help on using the changeset viewer.