]> ncurses.scripts.mit.edu Git - ncurses.git/blobdiff - panel/p_bottom.c
ncurses 6.2 - patch 20210508
[ncurses.git] / panel / p_bottom.c
index 2a6a2addc52514bfa86afc1732bb488106661d21..0e5b090aa694654235f9e315d6d8d84683f0c030 100644 (file)
@@ -1,5 +1,6 @@
 /****************************************************************************
- * Copyright (c) 1998-2005,2009 Free Software Foundation, Inc.              *
+ * Copyright 2020 Thomas E. Dickey                                          *
+ * Copyright 1998-2008,2010 Free Software Foundation, Inc.                  *
  *                                                                          *
  * Permission is hereby granted, free of charge, to any person obtaining a  *
  * copy of this software and associated documentation files (the            *
  */
 #include "panel.priv.h"
 
-MODULE_ID("$Id: p_bottom.c,v 1.12 2008/11/16 00:19:59 juergen Exp $")
+MODULE_ID("$Id: p_bottom.c,v 1.16 2020/09/26 18:02:35 tom Exp $")
 
-NCURSES_EXPORT(int)
+PANEL_EXPORT(int)
 bottom_panel(PANEL * pan)
 {
   int err = OK;
 
-  T((T_CALLED("bottom_panel(%p)"), pan));
+  T((T_CALLED("bottom_panel(%p)"), (void *)pan));
   if (pan)
     {
       GetHook(pan);
       if (!Is_Bottom(pan))
        {
 
-         dBug(("--> bottom_panel %s", USER_PTR(pan->user)));
+         dBug(("--> bottom_panel %s", USER_PTR(pan->user, 1)));
 
          HIDE_PANEL(pan, err, OK);
          assert(_nc_bottom_panel == _nc_stdscr_pseudo_panel);