1*b1cdbd2cSJim Jagielski--- misc/silgraphite-2.3.1/engine/src/segment/SegmentAux.cpp	2008-08-21 16:24:32.000000000 +0200
2*b1cdbd2cSJim Jagielski+++ misc/build/silgraphite-2.3.1/engine/src/segment/SegmentAux.cpp	2011-02-21 13:22:23.159834368 +0100
3*b1cdbd2cSJim Jagielski@@ -247,7 +247,9 @@
4*b1cdbd2cSJim Jagielski GlyphSetIterator::reference GlyphSetIterator::operator*() const
5*b1cdbd2cSJim Jagielski {
6*b1cdbd2cSJim Jagielski 	assert(m_pseg != 0);
7*b1cdbd2cSJim Jagielski-	assert(m_vit != std::vector<int>::const_iterator());
8*b1cdbd2cSJim Jagielski+        // #i116227# the check below is well meant but breaks itself when using stlport with debug facilities
9*b1cdbd2cSJim Jagielski+        // a valid iterator cannot be compared to an empty one in that case
10*b1cdbd2cSJim Jagielski+	// assert(m_vit != std::vector<int>::const_iterator());
11*b1cdbd2cSJim Jagielski 														// in the case of a non-contiguous list
12*b1cdbd2cSJim Jagielski 	return m_pseg->m_prgginf[(*m_vit) - m_pseg->m_isloutGinf0];
13*b1cdbd2cSJim Jagielski }
14