]> ncurses.scripts.mit.edu Git - ncurses.git/blobdiff - panel/p_hide.c
ncurses 6.2 - patch 20201010
[ncurses.git] / panel / p_hide.c
index 7b780d464e166829869f1b4e330bb6456a42213a..6a372ace4bcf89fb2e1e39860f08a9ea39546095 100644 (file)
@@ -1,5 +1,6 @@
 /****************************************************************************
 /****************************************************************************
- * Copyright (c) 1998-2005,2010 Free Software Foundation, Inc.              *
+ * Copyright 2020 Thomas E. Dickey                                          *
+ * Copyright 1998-2009,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            *
  *                                                                          *
  * Permission is hereby granted, free of charge, to any person obtaining a  *
  * copy of this software and associated documentation files (the            *
@@ -36,9 +37,9 @@
  */
 #include "panel.priv.h"
 
  */
 #include "panel.priv.h"
 
-MODULE_ID("$Id: p_hide.c,v 1.11 2010/01/23 21:22:16 tom Exp $")
+MODULE_ID("$Id: p_hide.c,v 1.14 2020/09/26 18:02:35 tom Exp $")
 
 
-NCURSES_EXPORT(int)
+PANEL_EXPORT(int)
 hide_panel(register PANEL * pan)
 {
   int err = ERR;
 hide_panel(register PANEL * pan)
 {
   int err = ERR;
@@ -49,7 +50,7 @@ hide_panel(register PANEL * pan)
     {
       GetHook(pan);
 
     {
       GetHook(pan);
 
-      dBug(("--> hide_panel %s", USER_PTR(pan->user)));
+      dBug(("--> hide_panel %s", USER_PTR(pan->user, 1)));
       dStack("<u%d>", 1, pan);
 
       HIDE_PANEL(pan, err, ERR);
       dStack("<u%d>", 1, pan);
 
       HIDE_PANEL(pan, err, ERR);