diff --git a/caca-php/examples/img2txt.php b/caca-php/examples/img2txt.php index b8e6dfb..f2f0dca 100755 --- a/caca-php/examples/img2txt.php +++ b/caca-php/examples/img2txt.php @@ -2,6 +2,10 @@ + * + * This file is a Php port of "src/img2txt.c" + * which is: * Copyright (c) 2006 Sam Hocevar * 2007 Jean-Yves Lamoureux * All Rights Reserved @@ -371,6 +375,7 @@ function main() if(!$export) { fprintf(STDERR, "%s: Can't export to format '%s'\n", $argv[0], $format); + return -1; } else {