[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] /srv/bzr/gnash/rtmp r10050: don't check property names to
From: |
rob |
Subject: |
[Gnash-commit] /srv/bzr/gnash/rtmp r10050: don't check property names to be ascii, they could be unicode instead. |
Date: |
Thu, 26 Mar 2009 11:08:22 -0600 |
User-agent: |
Bazaar (1.5) |
------------------------------------------------------------
revno: 10050
committer: address@hidden
branch nick: rtmp
timestamp: Thu 2009-03-26 11:08:22 -0600
message:
don't check property names to be ascii, they could be unicode instead.
modified:
libamf/element.cpp
=== modified file 'libamf/element.cpp'
--- a/libamf/element.cpp 2009-02-26 08:04:27 +0000
+++ b/libamf/element.cpp 2009-03-26 17:08:22 +0000
@@ -1451,13 +1451,9 @@
{
// GNASH_REPORT_FUNCTION;
if ((size > 0) && (name != 0)) {
- if (isascii(*name)) {
- _name = new char[size+1];
- std::copy(name, name+size, _name);
- *(_name + size) = 0;
- } else {
- log_error("Got unprintable characters for the element name!");
- }
+ _name = new char[size+1];
+ std::copy(name, name+size, _name);
+ *(_name + size) = 0;
}
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gnash-commit] /srv/bzr/gnash/rtmp r10050: don't check property names to be ascii, they could be unicode instead.,
rob <=