From 5f86dad26569e753f30c408a4f6ba350ec252da1 Mon Sep 17 00:00:00 2001 From: Markus Gans Date: Mon, 5 Oct 2015 01:01:45 +0200 Subject: [PATCH] Update README.md + FString code improvements --- README.md | 13 +++++++++++-- src/fstring.cpp | 2 +- 2 files changed, 12 insertions(+), 3 deletions(-) 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); }