Replace deprecated luaL_openlib() by luaL_register()
[apps/madmutt.git] / buffy.cpkg
index c549b83..264caac 100644 (file)
@@ -16,7 +16,6 @@
 
 #include <lib-lua/lib-lua.h>
 #include <lib-ui/lib-ui.h>
-#include <lib-ui/sidebar.h>
 #include <lib-mx/mx.h>
 #include <lib-mx/mh.h>
 
@@ -316,7 +315,7 @@ int buffy_check(int force)
     }
     if (BuffyCount > 0 && force != 2)
         sidebar_draw ();
-    return (BuffyCount);
+    return BuffyCount;
 }
 
 int buffy_list (void)