X-Git-Url: http://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=menu%2Fm_pattern.c;fp=menu%2Fm_pattern.c;h=3d50cf42c1f9b5ca5507ef00a70b85e8bdbfc838;hp=34870012e0c7db83199e5b0c7ea1103d6923228f;hb=a8987e73ec254703634802b4f7ee30d3a485524d;hpb=46722468f47c2b77b3987729b4bcf2321cccfd01 diff --git a/menu/m_pattern.c b/menu/m_pattern.c index 34870012..3d50cf42 100644 --- a/menu/m_pattern.c +++ b/menu/m_pattern.c @@ -1,5 +1,5 @@ /**************************************************************************** - * Copyright (c) 1998,2000 Free Software Foundation, Inc. * + * Copyright (c) 1998-2002,2003 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 * @@ -28,7 +28,6 @@ /**************************************************************************** * Author: Juergen Pfeifer, 1995,1997 * - * Contact: http://www.familiepfeifer.de/Contact.aspx?Lang=en * ****************************************************************************/ /*************************************************************************** @@ -38,7 +37,7 @@ #include "menu.priv.h" -MODULE_ID("$Id: m_pattern.c,v 1.7 2002/07/06 15:22:16 juergen Exp $") +MODULE_ID("$Id: m_pattern.c,v 1.9 2003/12/06 17:22:10 tom Exp $") /*--------------------------------------------------------------------------- | Facility : libnmenu @@ -54,7 +53,7 @@ MODULE_ID("$Id: m_pattern.c,v 1.7 2002/07/06 15:22:16 juergen Exp $") NCURSES_EXPORT(char *) menu_pattern (const MENU * menu) { - return (menu ? (menu->pattern ? menu->pattern : "") : (char *)0); + return (char *)(menu ? (menu->pattern ? menu->pattern : "") : 0); } /*---------------------------------------------------------------------------