Enrico Weigelt, metux IT service 16 years ago
parent
commit
1d8ef0b089
3 changed files with 5 additions and 14 deletions
  1. 4 6
      ChangeLog
  2. 1 2
      mhl/escape.h
  3. 0 6
      mhl/types.h

+ 4 - 6
ChangeLog

@@ -1,3 +1,7 @@
+2009-02-04 Enrico Weigelt, metux ITS <weigelt@metux.de>
+
+	* mhl/types.h, mhl/escape.h: replaced bool type by stdbool.h (fixing #240)
+
 2009-02-03 Enrico Weigelt, metux ITS <weigelt@metux.de>
 
 	* 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 <weigelt@metux.de>
-
 	* replaced buggy concat_dir_and_file() by mhl_str_dir_plus_file() (in mhl/string.h)
 
 2009-01-30 Enrico Weigelt, metux ITS <weigelt@metux.de>
@@ -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 <weigelt@metux.de>
-
 	* mhl/escape.h, mhl/string.h: fixed comments to use /* ... */
 
 2009-01-27 Sergei Trofimovich  <slyfox@inbox.ru>

+ 1 - 2
mhl/escape.h

@@ -5,8 +5,7 @@
 
 #include <string.h>
 #include <stdlib.h>
-
-#include <mhl/types.h>
+#include <stdbool.h>
 
 #define mhl_shell_escape_toesc(x)	\
     (((x)==' ')||((x)=='!')||((x)=='#')||((x)=='$')||((x)=='%')||	\

+ 0 - 6
mhl/types.h

@@ -7,10 +7,4 @@
 #ifndef __MHL_TYPES_H
 #define __MHL_TYPES_H
 
-typedef enum 
-{
-    false	= 0,
-    true	= 1
-} bool;
-
 #endif