Browse Source

* Close php blocks in samples programs (add "?>")

tags/v0.99.beta17
Nicolas Vion nico 16 years ago
parent
commit
b4830cb8e7
7 changed files with 9 additions and 6 deletions
  1. +2
    -0
      caca-php/examples/cacainfo.php
  2. +1
    -0
      caca-php/examples/cacapig.php
  3. +2
    -0
      caca-php/examples/demo.php
  4. +1
    -3
      caca-php/examples/dithering.php
  5. +1
    -1
      caca-php/examples/figfont.php
  6. +1
    -0
      caca-php/examples/polyline.php
  7. +1
    -2
      caca-php/examples/text.php

+ 2
- 0
caca-php/examples/cacainfo.php View File

@@ -63,3 +63,5 @@ $list = caca_get_font_list();
foreach($list as $name)
echo "* $name\n";
echo "\n";

?>

+ 1
- 0
caca-php/examples/cacapig.php View File

@@ -66,3 +66,4 @@ while (!caca_get_event($display, CACA_EVENT_KEY_PRESS)) {
$iy = -$iy;
}

?>

+ 2
- 0
caca-php/examples/demo.php View File

@@ -366,3 +366,5 @@ function demo_render($cv, $bounds, $outline, $dithering) {


main();

?>

+ 1
- 3
caca-php/examples/dithering.php View File

@@ -19,6 +19,4 @@ caca_refresh_display($display);

sleep(5);




?>

+ 1
- 1
caca-php/examples/figfont.php View File

@@ -33,4 +33,4 @@ foreach ($chars as $c) {

echo caca_export_string($cv, "utf8");

?>

+ 1
- 0
caca-php/examples/polyline.php View File

@@ -40,3 +40,4 @@ caca_put_str($canvas, 1, 1, "Caca forever...");
caca_refresh_display($display);
sleep(5);

?>

+ 1
- 2
caca-php/examples/text.php View File

@@ -58,5 +58,4 @@ echo caca_export_string($cv, "utf8");
caca_rotate_left($cv);
echo caca_export_string($cv, "utf8");



?>

Loading…
Cancel
Save