fix compile error

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5704 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Lars Gullik Bjønnes 2002-11-24 15:23:33 +00:00
parent 00efea7970
commit 92e79ed84e

View File

@ -69,7 +69,7 @@ namespace detail {
// Effects : advance *pos_p by skipping printf's asterisk fields.
// Returns : nothing
{
assert( pos_p);
assert( pos_p != 0);
if(*pos_p >= buf.size() ) return;
if(buf[ *pos_p]==os.widen('*')) {
++ (*pos_p);
@ -105,7 +105,7 @@ namespace detail {
// - *fpar is set with the parameters read in the directive
{
typedef format_item<Ch, Tr> format_item_t;
assert( pos_p);
assert( pos_p != 0);
typename std::basic_string<Ch, Tr>::size_type &i1 = *pos_p,
i0;
fpar->argN_ = format_item_t::argN_no_posit; // if no positional-directive