]> git.ipfire.org Git - thirdparty/newt.git/commitdiff
- initialize isMapped
authormlichvar <mlichvar>
Thu, 12 Apr 2007 16:50:47 +0000 (16:50 +0000)
committermlichvar <mlichvar>
Thu, 12 Apr 2007 16:50:47 +0000 (16:50 +0000)
checkbox.c

index 3ff0dec4e1b7f4f8cbe392b3f74b4e967f82a62a..85cd49e6e402cff7814081fbbafb48fdb462b0f8 100644 (file)
@@ -131,6 +131,7 @@ newtComponent newtCheckbox(int left, int top, const char * text, char defValue,
     co->top = top;
     co->left = left;
     co->takesFocus = 1;
+    co->isMapped = 0;
 
     return co;
 }