summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon <simon@hardwired.org.uk>2011-04-01 09:08:54 (GMT)
committer Simon <simon@hardwired.org.uk>2011-04-01 09:08:54 (GMT)
commit9c44767e44de30833763b043b507d48c050c68aa (patch)
treee7568e4c1779794b1319ed33fcd5912a096ac720
parent7df042d0233ce2c19c07cecde302f0fcc0a76956 (diff)
downloadpowder-9c44767e44de30833763b043b507d48c050c68aa.zip
powder-9c44767e44de30833763b043b507d48c050c68aa.tar.gz
Move console_more declaration outside pythonconsole macro
-rw-r--r--src/main.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main.c b/src/main.c
index 614dec3..4ac41ab 100644
--- a/src/main.c
+++ b/src/main.c
@@ -1202,6 +1202,7 @@ char my_uri[] = "http://" SERVER "/Update.api?Action=Download&Architecture="
char console_error[255] = "";
+char console_more=0;
#ifdef PYCONSOLE
/*
@@ -1303,8 +1304,6 @@ static PyObject* emb_log(PyObject *self, PyObject *args)
return Py_BuildValue("i",1);
}
-char console_more=0;
-
static PyObject* emb_console_more(PyObject *self, PyObject *args)
{
if(!PyArg_ParseTuple(args, ":log"))