[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] gnash/server/asobj string.cpp
From: |
Martin Guy |
Subject: |
[Gnash-commit] gnash/server/asobj string.cpp |
Date: |
Tue, 27 Feb 2007 23:03:02 +0000 |
CVSROOT: /sources/gnash
Module name: gnash
Changes by: Martin Guy <martinwguy> 07/02/27 23:03:02
Modified files:
server/asobj : string.cpp
Log message:
Bugfixen: log_aserror is (now?) printf-like.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/server/asobj/string.cpp?cvsroot=gnash&r1=1.15&r2=1.16
Patches:
Index: string.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/asobj/string.cpp,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -b -r1.15 -r1.16
--- string.cpp 2 Feb 2007 02:10:36 -0000 1.15
+++ string.cpp 27 Feb 2007 23:03:02 -0000 1.16
@@ -14,7 +14,7 @@
// along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
-/* $Id: string.cpp,v 1.15 2007/02/02 02:10:36 rsavoye Exp $ */
+/* $Id: string.cpp,v 1.16 2007/02/27 23:03:02 martinwguy Exp $ */
// Implementation of ActionScript String class.
@@ -448,14 +448,14 @@
// assert(fn.nargs == 1);
if (fn.nargs < 1) {
IF_VERBOSE_ASCODING_ERRORS(
- log_aserror(__FUNCTION__, " needs one argument");
+ log_aserror("%s needs one argument", __FUNCTION__);
)
fn.result->set_tu_string(""); // Same as for out-of-range arg
return;
}
IF_VERBOSE_ASCODING_ERRORS(
if (fn.nargs > 1)
- log_aserror(__FUNCTION__, " has more than one argument");
+ log_aserror("%s has more than one argument", __FUNCTION__);
)
int index = static_cast<int>(fn.arg(0).to_number());
- [Gnash-commit] gnash/server/asobj string.cpp,
Martin Guy <=