summaryrefslogtreecommitdiff
path: root/utils/doc.main
diff options
context:
space:
mode:
Diffstat (limited to 'utils/doc.main')
-rw-r--r--utils/doc.main4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/doc.main b/utils/doc.main
index 364a939..5622ec3 100644
--- a/utils/doc.main
+++ b/utils/doc.main
@@ -414,14 +414,14 @@ const char* file1 = path.Find ("my_file");
const char* file2 = path.Find ("other_file");
/* file1 now refers to garbage */
-const char* file2 = path.Find ("other_file", TRUE);
+const char* file2 = path.Find ("other_file", true);
path.SetAlloc (1);
char* file3 = path.Find ("my_file");
FreeString (file1); // crash !
FreeString (file2); // safe
-FreeString (file3); // safe (default allocation now TRUE)
+FreeString (file3); // safe (default allocation now true)
\end{ccode}
\chapter{Regular expressions}