aboutsummaryrefslogtreecommitdiffhomepage
path: root/highlight.cpp
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2012-01-31 20:22:25 -0800
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2012-01-31 20:22:25 -0800
commiteef1e3e77e9ec1c80c7a388c2a5433bbc9910db3 (patch)
tree29241d3e951acee386f7a6ea7e90149a8f960ae8 /highlight.cpp
parent562ba1291e72cf4a6c7dbfb918c2cc6821e2eb04 (diff)
More cleanup of static string buffers in favor of wcstring
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 );