Ignore:
Timestamp:
Feb 8, 2010, 2:27:22 AM (10 years ago)
Author:
Sam Hocevar
Message:

Large source code cleanup, getting rid of spaces, tabs, and svn keywords.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/caca-php/examples/www/colors.php

    r4148 r4333  
    1414   *  Copyright (c) 2003-2004 Sam Hocevar <sam@hocevar.net>
    1515   *                All Rights Reserved
    16    *
    17    *  $Id$
    1816   *
    1917   *  This program is free software. It comes without any warranty, to
     
    3432if(!$cv)
    3533{
    36         die("Failed to create canvas\n");
     34    die("Failed to create canvas\n");
    3735}
    3836
     
    4139for($i = 0; $i < 16; $i++)
    4240{
    43         caca_set_color_ansi($cv, CACA_LIGHTGRAY, CACA_BLACK);
    44         caca_put_str($cv, 3, $i + ($i >= 8 ? 3 : 2), "ANSI " . $i);
    45         for($j = 0; $j < 16; $j++)
    46         {
    47                 caca_set_color_ansi($cv, $i, $j);
    48                 caca_put_str($cv, ($j >= 8 ? 13 : 12) + $j * 4, $i + ($i >= 8 ? 3 : 2),
    49                                         "Aaホ");
    50         }
     41    caca_set_color_ansi($cv, CACA_LIGHTGRAY, CACA_BLACK);
     42    caca_put_str($cv, 3, $i + ($i >= 8 ? 3 : 2), "ANSI " . $i);
     43    for($j = 0; $j < 16; $j++)
     44    {
     45        caca_set_color_ansi($cv, $i, $j);
     46        caca_put_str($cv, ($j >= 8 ? 13 : 12) + $j * 4, $i + ($i >= 8 ? 3 : 2),
     47                    "Aaホ");
     48    }
    5149}
    5250
Note: See TracChangeset for help on using the changeset viewer.