diff options
author | Siteshwar Vashisht <siteshwar@gmail.com> | 2012-01-30 23:58:30 +0530 |
---|---|---|
committer | Siteshwar Vashisht <siteshwar@gmail.com> | 2012-01-30 23:58:30 +0530 |
commit | cd7d1f2bfe3aefbc85e657a6bbddeac39730612a (patch) | |
tree | f16ed9de662f64bc4a574433b1492547fc03ba8d /highlight.cpp | |
parent | f988dcd6f99dc2a38917ad7c0a0630e0e4de2e2d (diff) |
Fix to not show thread debugging warning when entering characters like "~%". expand_string2() now uses it's own parser instead of principal_parser. Added PARSER_TYPE_ERRORS_ONLY in parser_type_t.
Diffstat (limited to 'highlight.cpp')
-rw-r--r-- | highlight.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/highlight.cpp b/highlight.cpp index de20fde3..3945dc2a 100644 --- a/highlight.cpp +++ b/highlight.cpp @@ -175,7 +175,7 @@ int highlight_get_color( int highlight ) size_t i; int idx=0; int result = 0; - + if( highlight < 0 ) return FISH_COLOR_NORMAL; if( highlight >= (1<<VAR_COUNT) ) |