Update of /cvsroot/openvrml/openvrml/mozilla-plugin/src
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv24588/mozilla-plugin/src
Modified Files:
Tag: OpenVRML-0_16-BRANCH
openvrml.cpp
Log Message:
Removed "offset" argument from openvrml-gtkplug's "write" command.
Index: openvrml.cpp
===================================================================
RCS file: /cvsroot/openvrml/openvrml/mozilla-plugin/src/openvrml.cpp,v
retrieving revision 1.37.2.8
retrieving revision 1.37.2.9
diff -C2 -d -r1.37.2.8 -r1.37.2.9
*** openvrml.cpp 24 Nov 2006 06:37:04 -0000 1.37.2.8
--- openvrml.cpp 28 Nov 2006 06:12:32 -0000 1.37.2.9
***************
*** 490,494 ****
int32 NPP_Write(const NPP instance,
NPStream * const stream,
! const int32 offset,
const int32 len,
void * const buffer)
--- 490,494 ----
int32 NPP_Write(const NPP instance,
NPStream * const stream,
! int32 /* offset */,
const int32 len,
void * const buffer)
***************
*** 500,505 ****
std::ostringstream command;
! command << "write " << ptrdiff_t(stream) << ' ' << offset << ' ' << len
! << '\n';
for (int32 i = 0; i < len; ++i) {
command.put(static_cast<char *>(buffer)[i]);
--- 500,504 ----
std::ostringstream command;
! command << "write " << ptrdiff_t(stream) << ' ' << ' ' << len << '\n';
for (int32 i = 0; i < len; ++i) {
command.put(static_cast<char *>(buffer)[i]);
|