From ed2e2fedc646e73d5f4348458901bb46b717a497 Mon Sep 17 00:00:00 2001 From: ghost Date: Fri, 11 Mar 2011 09:24:51 +0100 Subject: [PATCH] base/console.cpp: fix typo --- lib/base/console.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/base/console.cpp b/lib/base/console.cpp index 43f9f61e..00187683 100644 --- a/lib/base/console.cpp +++ b/lib/base/console.cpp @@ -519,7 +519,7 @@ eConsolePy_write(eConsolePy* self, PyObject *args) int ret = -1; Py_ssize_t argc = PyTuple_Size(args); if (argc > 1) - ret = PyArg_ParseTuple(args, "si", &data, &len); + ret = !PyArg_ParseTuple(args, "si", &data, &len); else if (argc == 1) { PyObject *ob; -- 2.30.2