CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Sandro Santilli <strk>  07/05/14 17:58:44

Modified files:
        backend        : render_handler_agg_style.h 

Log message:
        ouch, the assertion

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/backend/render_handler_agg_style.h?cvsroot=gnash&r1=1.14&r2=1.15

Patches:
Index: render_handler_agg_style.h
===================================================================
RCS file: /sources/gnash/gnash/backend/render_handler_agg_style.h,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -b -r1.14 -r1.15
--- render_handler_agg_style.h  17 Apr 2007 14:57:20 -0000      1.14
+++ render_handler_agg_style.h  14 May 2007 17:58:44 -0000      1.15
@@ -297,7 +297,7 @@
 
     /// Called by AGG to ask if a certain style is a solid color
     bool is_solid(unsigned style) const {
-     
+      assert(style < m_styles.size());
       return m_styles[style]->m_is_solid; 
     }
     


_______________________________________________
Gnash-commit mailing list
Gnash-commit@gnu.org
http://lists.gnu.org/mailman/listinfo/gnash-commit

Reply via email to