From 9e9fda70e9993a37278aa28723b777b6c68046b1 Mon Sep 17 00:00:00 2001 From: Andreas Gohr Date: Mon, 27 Nov 2006 23:28:45 +0100 Subject: GeSHi 1.0.7.16 update darcs-hash:20061127222845-7ad00-50130163027857534a4075ada27cded8411dd96e.gz --- inc/geshi.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'inc/geshi.php') diff --git a/inc/geshi.php b/inc/geshi.php index 29bed3228..9a6147bfc 100644 --- a/inc/geshi.php +++ b/inc/geshi.php @@ -29,7 +29,7 @@ * @author Nigel McNie * @copyright Copyright © 2004, 2005, Nigel McNie * @license http://gnu.org/copyleft/gpl.html GNU GPL - * @version $Id: geshi.php,v 1.40.2.10 2006/10/23 01:54:16 oracleshinoda Exp $ + * @version $Id: geshi.php,v 1.40.2.13 2006/11/22 19:04:35 oracleshinoda Exp $ * */ @@ -41,7 +41,7 @@ // /** The version of this GeSHi file */ -define('GESHI_VERSION', '1.0.7.15'); +define('GESHI_VERSION', '1.0.7.16'); /** Set the correct directory separator */ define('GESHI_DIR_SEPARATOR', ('WIN' != substr(PHP_OS, 0, 3)) ? '/' : '\\'); @@ -450,7 +450,7 @@ class GeSHi */ function get_language_name () { - if (GESHI_ERROR_NO_SUCH_LANG == $this->_error) { + if (GESHI_ERROR_NO_SUCH_LANG == $this->error) { return $this->language_data['LANG_NAME'] . ' (Unknown Language)'; } return $this->language_data['LANG_NAME']; @@ -1084,12 +1084,12 @@ class GeSHi 'asm' => array('ash', 'asm'), 'asp' => array('asp'), 'bash' => array('sh'), - 'c' => array('c'), - 'c_mac' => array('c'), + 'c' => array('c', 'h'), + 'c_mac' => array('c', 'h'), 'caddcl' => array(), 'cadlisp' => array(), 'cdfg' => array('cdfg'), - 'cpp' => array('cpp'), + 'cpp' => array('cpp', 'h', 'hpp'), 'csharp' => array(), 'css' => array('css'), 'delphi' => array('dpk', 'dpr'), -- cgit v1.2.3