From 1d8ef0b089bcb6828b0dde62076493178ed185ec Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT service" Date: Wed, 4 Feb 2009 01:08:29 +0100 Subject: [PATCH] fixed #240 --- ChangeLog | 10 ++++------ mhl/escape.h | 3 +-- mhl/types.h | 6 ------ 3 files changed, 5 insertions(+), 14 deletions(-) diff --git a/ChangeLog b/ChangeLog index a529eb9aa..6e808b1e6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2009-02-04 Enrico Weigelt, metux ITS + + * mhl/types.h, mhl/escape.h: replaced bool type by stdbool.h (fixing #240) + 2009-02-03 Enrico Weigelt, metux ITS * lib/mc.lib: added patch on #219 by angel_il @@ -18,9 +22,6 @@ * src/find.c, src/main.c, src/panelize.c, src/util.c, src/utilunix.c, * src/widget.c, src/widget.h, src/wtools.c, vfs/fish.c: fixed shell escaping issues in commandline completion engine - -2009-01-31 Enrico Weigelt, metux ITS - * replaced buggy concat_dir_and_file() by mhl_str_dir_plus_file() (in mhl/string.h) 2009-01-30 Enrico Weigelt, metux ITS @@ -42,9 +43,6 @@ * mhl/escape.h, src/complete.c, vfs/fish.c: introduced new type SHELL_ESCAPED_STR for more type safety - -2009-01-27 Enrico Weigelt, metux IT service - * mhl/escape.h, mhl/string.h: fixed comments to use /* ... */ 2009-01-27 Sergei Trofimovich diff --git a/mhl/escape.h b/mhl/escape.h index 2ec4e0d46..ed25b608a 100644 --- a/mhl/escape.h +++ b/mhl/escape.h @@ -5,8 +5,7 @@ #include #include - -#include +#include #define mhl_shell_escape_toesc(x) \ (((x)==' ')||((x)=='!')||((x)=='#')||((x)=='$')||((x)=='%')|| \ diff --git a/mhl/types.h b/mhl/types.h index 1f8400299..f88190ce1 100644 --- a/mhl/types.h +++ b/mhl/types.h @@ -7,10 +7,4 @@ #ifndef __MHL_TYPES_H #define __MHL_TYPES_H -typedef enum -{ - false = 0, - true = 1 -} bool; - #endif