aboutsummaryrefslogtreecommitdiffhomepage
path: root/highlight.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'highlight.cpp')
-rw-r--r--highlight.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/highlight.cpp b/highlight.cpp
index 7c680475..5b023823 100644
--- a/highlight.cpp
+++ b/highlight.cpp
@@ -707,7 +707,7 @@ void tokenize( const wchar_t * const buff, int * const color, const int pos, arr
any files for that
*/
if( use_builtin )
- is_cmd |= builtin_exists( cmd.c_str() );
+ is_cmd |= builtin_exists( cmd );
if( use_function )
is_cmd |= function_exists_no_autoload( cmd.c_str(), vars );