From d75756f2019da52d625116c35298ff9785733b41 Mon Sep 17 00:00:00 2001 From: ntrifunovic Date: Sat, 4 Sep 2010 15:47:12 +0000 Subject: [PATCH] Fix for the bug ID: 3025042: is_bom documentation issue git-svn-id: http://svn.code.sf.net/p/utfcpp/code@114 a809a056-fc17-0410-9590-b4f493f8b08e --- doc/utf8cpp.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/utf8cpp.html b/doc/utf8cpp.html index 14b224e..3f04ce2 100644 --- a/doc/utf8cpp.html +++ b/doc/utf8cpp.html @@ -988,7 +988,7 @@ assert (bbom == true); unsigned char byte_order_mark[] = {0xef, 0xbb, 0xbf}; -bool bbom = is_bom(byte_order_mark, byte_order_mark + sizeof(byte_order_mark)); +bool bbom = is_bom(byte_order_mark); assert (bbom == true);