/****************************************************************************
- * Copyright (c) 1998-2008,2009 Free Software Foundation, Inc. *
+ * Copyright (c) 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 *
#define CUR SP_TERMTYPE
#endif
-MODULE_ID("$Id: lib_slk.c,v 1.43 2009/10/24 22:12:21 tom Exp $")
+MODULE_ID("$Id: lib_slk.c,v 1.45 2010/05/01 20:44:34 tom Exp $")
#ifdef USE_TERM_DRIVER
#define NumLabels InfoOf(SP_PARM).numlabels
int res = OK;
unsigned max_length;
SCREEN *sp;
- TERMINAL *term;
int numlab;
T((T_CALLED("_nc_slk_initialize()")));
if (0 == sp)
returnCode(ERR);
- term = TerminalOf(SP_PARM);
- assert(term);
+ assert(TerminalOf(SP_PARM));
numlab = NumLabels;
} else if ((SP_PARM->_slk = typeCalloc(SLK, 1)) == 0)
returnCode(ERR);
- SP_PARM->_slk->hidden = TRUE;
- SP_PARM->_slk->ent = NULL;
if (!SP_PARM->slk_format)
SP_PARM->slk_format = _nc_globals.slk_format;