diff options
author | Andreas Gohr <andi@splitbrain.org> | 2006-11-27 23:28:45 +0100 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2006-11-27 23:28:45 +0100 |
commit | 9e9fda70e9993a37278aa28723b777b6c68046b1 (patch) | |
tree | 7bd8d50dbfc350e36e580f72a357847436adca40 /inc/geshi.php | |
parent | e135fd5d34238f99761d5fb3b41c46c67f8b6316 (diff) | |
download | rpg-9e9fda70e9993a37278aa28723b777b6c68046b1.tar.gz rpg-9e9fda70e9993a37278aa28723b777b6c68046b1.tar.bz2 |
GeSHi 1.0.7.16 update
darcs-hash:20061127222845-7ad00-50130163027857534a4075ada27cded8411dd96e.gz
Diffstat (limited to 'inc/geshi.php')
-rw-r--r-- | inc/geshi.php | 12 |
1 files changed, 6 insertions, 6 deletions
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 <nigel@geshi.org> * @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'), |