X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=panel%2Fp_show.c;h=0c973dbeaf6640b0ce74132992a96900689ad958;hp=d5b09bd942602d47fdd70a6c03e1105dc09c2138;hb=d1cc319afccb0d472465718a748664e7cef00840;hpb=c6540b9c89dda1a6a8bd681726831e8924176504 diff --git a/panel/p_show.c b/panel/p_show.c index d5b09bd9..0c973dbe 100644 --- a/panel/p_show.c +++ b/panel/p_show.c @@ -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 * @@ -36,9 +37,9 @@ */ #include "panel.priv.h" -MODULE_ID("$Id: p_show.c,v 1.13 2010/01/23 21:22:16 tom Exp $") +MODULE_ID("$Id: p_show.c,v 1.16 2020/09/26 18:02:35 tom Exp $") -NCURSES_EXPORT(int) +PANEL_EXPORT(int) show_panel(PANEL * pan) { int err = ERR; @@ -52,7 +53,7 @@ show_panel(PANEL * pan) if (Is_Top(pan)) returnCode(OK); - dBug(("--> show_panel %s", USER_PTR(pan->user))); + dBug(("--> show_panel %s", USER_PTR(pan->user, 1))); HIDE_PANEL(pan, err, OK);