summaryrefslogtreecommitdiff
path: root/src/luaconsole.c
diff options
context:
space:
mode:
authorSimon Robertshaw <simon@hardwired.org.uk>2011-12-18 16:29:07 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2011-12-18 16:29:07 (GMT)
commita9914dca2fcbf237fcd91530644f637613cde78f (patch)
tree7657fa3be68c7bf9b17264f3775e6e92913bb3a8 /src/luaconsole.c
parent61e86ca72d83dbd8494303245b28530fbc488f78 (diff)
downloadpowder-a9914dca2fcbf237fcd91530644f637613cde78f.zip
powder-a9914dca2fcbf237fcd91530644f637613cde78f.tar.gz
Improvements to render_ui, fix merge errors
Diffstat (limited to 'src/luaconsole.c')
-rw-r--r--src/luaconsole.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/luaconsole.c b/src/luaconsole.c
index 0f4d567..57236af 100644
--- a/src/luaconsole.c
+++ b/src/luaconsole.c
@@ -156,6 +156,7 @@ tpt.partsdata = nil");
tptElements = lua_gettop(l);
for(i = 1; i < PT_NUM; i++)
{
+ int currentElement, currentElementMeta;
for(j = 0; j < strlen(ptypes[i].name); j++)
tmpname[j] = tolower(ptypes[i].name[j]);
tmpname[strlen(ptypes[i].name)] = 0;