diff options
author | 2006-06-02 05:42:31 +1000 | |
---|---|---|
committer | 2006-06-02 05:42:31 +1000 | |
commit | 4ffd2afccdb49b333ae8ab574884737f3984c676 (patch) | |
tree | 094f3aeca0afe9297137af51aa1bf513cc134e2b /history.c | |
parent | ec58ffa641b8c68a6bd8cdecfcdda107234b0674 (diff) |
Fix some minor 64-bit uncleanlieness - thanks to James Anthill
darcs-hash:20060601194231-ac50b-a6b9b94379ba1d5bb6c61f7fad4652c8f748b25f.gz
Diffstat (limited to 'history.c')
-rw-r--r-- | history.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -482,7 +482,7 @@ static int history_test( const wchar_t *needle, const wchar_t *haystack ) /* return wcsncmp( haystack, needle, wcslen(needle) )==0; */ - return (int)wcsstr( haystack, needle ); + return !!wcsstr( haystack, needle ); } const wchar_t *history_prev_match( const wchar_t *str ) |