From 5513a991a59aa8ded83b04bb0a2193a49f5c90e9 Mon Sep 17 00:00:00 2001
From: Allanis <allanis@saracraft.net>
Date: Sat, 24 May 2014 14:46:55 +0100
Subject: [PATCH] [Fix] Oops, I completely failed to get the input widgets.

---
 src/toolkit.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/toolkit.c b/src/toolkit.c
index 0d2178b..ef27859 100644
--- a/src/toolkit.c
+++ b/src/toolkit.c
@@ -925,6 +925,7 @@ char* window_getInput(const unsigned int wid, char* name) {
   Widget* wgt;
 
   /* Get the widget. */
+  wgt = window_getwgt(wid, name);
   if(wgt == NULL)
     return NULL;