diff options
author | ridiculousfish <corydoras@ridiculousfish.com> | 2012-07-17 12:47:01 -0700 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2012-07-17 12:47:01 -0700 |
commit | d06d6c69645c4d355772cb19043469328c05ccc5 (patch) | |
tree | ba9f91943b94b9b59b3e781580eca5d3230ac493 /highlight.cpp | |
parent | 977a4477f646e344e66a7b0bc22e2e89b72d20db (diff) |
Various changes to reduce fish's compiled code size
OS X release build executable size dropped from 672k to 511k
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 bc811e71..75d9f8db 100644 --- a/highlight.cpp +++ b/highlight.cpp @@ -1274,7 +1274,7 @@ void highlight_shell( const wcstring &buff, std::vector<int> &color, int pos, wc const size_t length = buff.size(); assert(buff.size() == color.size()); - + if( length == 0 ) return; |