Merge branch 'master' of git://github.com/thepowersgang/acess2
[tpg/acess2.git] / Usermode / Applications / axwin3_src / WM / renderers / widget / textinput.c
index 8335241..de862bf 100644 (file)
@@ -118,7 +118,7 @@ void Widget_TextInput_Init(tElement *Element)
        info->DrawOfs = 0;
        info->CursorXOfs = 0;
        info->CursorByteOfs = 0;
-       info->Length = NULL;
+       info->Length = 0;
 
        // No need to explicitly update parent min dims, as the AddElement routine does that    
 }

UCC git Repository :: git.ucc.asn.au