diff --git a/README.md b/README.md index 5352587a..fcdcc90d 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,18 @@ +### Building and code analysis *Travis CI:*
-     [![Build Status](https://travis-ci.org/gansm/finalcut.svg?branch=master)](https://travis-ci.org/gansm/finalcut) - +     [![Build Status](https://travis-ci.org/gansm/finalcut.svg?branch=master)](https://travis-ci.org/gansm/finalcut)
*Coverity Scan:*
     [![Coverity Scan Status](https://scan.coverity.com/projects/6508/badge.svg)](https://scan.coverity.com/projects/6508) +### Installation +``` +> git clone git://github.com/gansm/finalcut.git +> cd finalcut +> ./configure --prefix=/usrX +> make +> su -c "make install" +``` + The Final Cut ============= The Final Cut is a class library and widget toolkit with full mouse support for creating a text-based user interface. The library supports the programmer to develop an application for the text console. It allows the simultaneous handling of multiple windows on the screen. diff --git a/src/fstring.cpp b/src/fstring.cpp index 57b8aa77..8b11bb18 100644 --- a/src/fstring.cpp +++ b/src/fstring.cpp @@ -2161,7 +2161,7 @@ bool FString::includes (const char* s) if ( ! wc_string ) return false; ret = bool(wcsstr(string, wc_string) != 0); - if ( *wc_string ) + if ( wc_string ) delete[] wc_string; return (ret); }