Set h1 width to 95% to avoid horizontal scrollbar.
[cocanwiki.git] / scripts / lib / cocanwiki_strings.ml
index a2071a8..7939e74 100644 (file)
@@ -1,7 +1,7 @@
 (* COCANWIKI - a wiki written in Objective CAML.
  * Written by Richard W.M. Jones <rich@merjis.com>.
  * Copyright (C) 2004 Merjis Ltd.
- * $Id: cocanwiki_strings.ml,v 1.1 2004/10/21 11:42:05 rich Exp $
+ * $Id: cocanwiki_strings.ml,v 1.2 2004/12/01 13:55:55 rich Exp $
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -23,7 +23,7 @@ open ExtString
 
 let string_contains substr str =
   try String.find str substr; true
-  with String.Invalid_string -> false
+  with Invalid_string -> false
 
 let string_of_char = String.make 1