fixed warnings
[dosdemo] / src / screen.c
index 5ba6d40..fa70413 100644 (file)
@@ -97,6 +97,13 @@ void scr_draw(void)
        if(cur) cur->draw();
 }
 
        if(cur) cur->draw();
 }
 
+void scr_keypress(int key)
+{
+       if(cur && cur->keypress) {
+               cur->keypress(key);
+       }
+}
+
 struct screen *scr_lookup(const char *name)
 {
        int i;
 struct screen *scr_lookup(const char *name)
 {
        int i;