X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=ncurses%2Fbase%2Flib_slkrefr.c;h=9040cc0429ecb2b9ac0222b63a7a4b29ae81b3aa;hp=18e5b0c1c2f73b53733b403968f05844eff6135c;hb=a8987e73ec254703634802b4f7ee30d3a485524d;hpb=46722468f47c2b77b3987729b4bcf2321cccfd01 diff --git a/ncurses/base/lib_slkrefr.c b/ncurses/base/lib_slkrefr.c index 18e5b0c1..9040cc04 100644 --- a/ncurses/base/lib_slkrefr.c +++ b/ncurses/base/lib_slkrefr.c @@ -1,5 +1,5 @@ /**************************************************************************** - * Copyright (c) 1998,2000 Free Software Foundation, Inc. * + * Copyright (c) 1998-2000,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 * @@ -38,7 +38,7 @@ #include #include /* num_labels, label_*, plab_norm */ -MODULE_ID("$Id: lib_slkrefr.c,v 1.10 2000/12/10 02:43:27 tom Exp $") +MODULE_ID("$Id: lib_slkrefr.c,v 1.11 2003/03/29 22:53:48 tom Exp $") /* * Write the soft labels to the soft-key window. @@ -58,7 +58,7 @@ slk_intern_refresh(SLK * slk) putp(tparm(plab_norm, i + 1, slk->ent[i].form_text)); } } else { - wmove(slk->win, SLK_LINES(fmt) - 1, slk->ent[i].x); + wmove(slk->win, SLK_LINES(fmt) - 1, slk->ent[i].ent_x); if (SP && SP->_slk) wattrset(slk->win, SP->_slk->attr); waddnstr(slk->win, slk->ent[i].form_text,