From: <sil...@li...> - 2005-05-27 18:18:37
|
Update of /cvsroot/silgraphite/silgraphite/src/Generic In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19623/src/Generic Modified Files: Tag: v2api UtilString.cpp Log Message: Fixed bug in positioning mechanism (showed up in justified Burmese). Index: UtilString.cpp =================================================================== RCS file: /cvsroot/silgraphite/silgraphite/src/Generic/UtilString.cpp,v retrieving revision 1.6 retrieving revision 1.6.2.1 diff -u -d -r1.6 -r1.6.2.1 --- UtilString.cpp 12 Apr 2004 10:24:28 -0000 1.6 +++ UtilString.cpp 27 May 2005 18:18:26 -0000 1.6.2.1 @@ -40,12 +40,13 @@ //:Associate with StrBase<utf16>. template class StrBase<utf16>; // Instantiation for XChar = utf16. -StrBase<utf16>::StrBuffer StrBase<utf16>::s_bufEmpty; // Instantiation of empty utf16 buffer. +//StrBase<utf16>::StrBuffer StrBase<utf16>::s_bufEmpty; // Instantiation of empty utf16 buffer. +template <> StrBase<utf16>::StrBuffer StrBase<utf16>::s_bufEmpty; // Instantiation of empty utf16 buffer. //:Associate with StrBase<schar>. template class StrBase<schar>; // Instantiation for XChar = schar. -StrBase<schar>::StrBuffer StrBase<schar>::s_bufEmpty; // Instantiation of empty schar buffer. - +//StrBase<schar>::StrBuffer StrBase<schar>::s_bufEmpty; // Instantiation of empty schar buffer. +template <> StrBase<schar>::StrBuffer StrBase<schar>::s_bufEmpty; // Instantiation of empty schar buffer. /*---------------------------------------------------------------------------------------------- Create a new internal buffer of size cch and return a pointer to the characters. |