gnash-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnash-commit] gnash ChangeLog server/fill_style.cpp


From: Benjamin Wolsey
Subject: [Gnash-commit] gnash ChangeLog server/fill_style.cpp
Date: Tue, 03 Jun 2008 08:23:02 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Benjamin Wolsey <bwy>   08/06/03 08:23:02

Modified files:
        .              : ChangeLog 
        server         : fill_style.cpp 

Log message:
        Missing ensureBytes.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.6779&r2=1.6780
http://cvs.savannah.gnu.org/viewcvs/gnash/server/fill_style.cpp?cvsroot=gnash&r1=1.31&r2=1.32

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.6779
retrieving revision 1.6780
diff -u -b -r1.6779 -r1.6780
--- ChangeLog   3 Jun 2008 07:23:44 -0000       1.6779
+++ ChangeLog   3 Jun 2008 08:23:01 -0000       1.6780
@@ -1,5 +1,9 @@
 2008-06-03 Benjamin Wolsey <address@hidden>
 
+       * server/fill_style.cpp: missing ensureBytes.
+
+2008-06-03 Benjamin Wolsey <address@hidden>
+
        * server/GnashKey.h: yes, REGISTERED does cause problems on mingw.
 
 2008-06-03 Sandro Santilli <address@hidden>

Index: server/fill_style.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/fill_style.cpp,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -b -r1.31 -r1.32
--- server/fill_style.cpp       28 May 2008 08:55:56 -0000      1.31
+++ server/fill_style.cpp       3 Jun 2008 08:23:02 -0000       1.32
@@ -212,6 +212,7 @@
                // A focal gradient also has a focal point.
                if (m_type == SWF::FILL_FOCAL_GRADIENT)
                {
+                   in->ensureBytes(2);
                        m_focal_point = in->read_short_sfixed();
                        if (m_focal_point < -1.0f)
                                m_focal_point = -1.0f;




reply via email to

[Prev in Thread] Current Thread [Next in Thread]