Skip to content

Commit 926ee90

Browse files
anaselliConan-Kudo
authored andcommitted
make it building against new libyui-ncurses
1 parent e77f983 commit 926ee90

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/NCMenu.cc

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ class NCMenuLine : public NCTableLine
6161
if (separator)
6262
{
6363
//Append( new NCTableCol( "", NCTableCol::SEPARATOR ) );
64-
SetState( S_DISABELED );
64+
SetState( S_DISABLED );
6565
}
6666
else
6767
{
@@ -76,7 +76,7 @@ class NCMenuLine : public NCTableLine
7676
else if ( !mi->enabled() )
7777
{
7878
yuiDebug() << mi->label() << " disabled" << std::endl;
79-
SetState( S_DISABELED );
79+
SetState( S_DISABLED );
8080
}
8181
else
8282
{
@@ -125,9 +125,9 @@ class NCMenuLine : public NCTableLine
125125
yuiDebug() << yitem->label() << " hotcol: "<< l.hotpos() << " hotkey: " << l.hotkey() << std::endl;
126126

127127
if ( !isSpecial() )
128-
w.bkgdset( tableStyle.hotBG( vstate, NCTableCol::PLAIN ) );
128+
w.bkgdset( tableStyle.hotBG( _vstate, NCTableCol::PLAIN ) );
129129

130-
yuiDebug() << "tableStyle hotcol: " << tableStyle.listStyle().title << " bg: " << tableStyle.hotBG(vstate, tableStyle.HotCol()) << std::endl;
130+
yuiDebug() << "tableStyle hotcol: " << tableStyle.listStyle().title << " bg: " << tableStyle.hotBG(_vstate, tableStyle.HotCol()) << std::endl;
131131

132132

133133
NCTableLine::DrawAt( w, at, tableStyle, active );
@@ -227,7 +227,7 @@ YMenuItem * NCMenu::getCurrentItem() const
227227
{
228228
const NCMenuLine * cline = dynamic_cast<const NCMenuLine *>( myPad()->GetCurrentLine() );
229229

230-
if ( cline && cline->isEnabeled())
230+
if ( cline && cline->isEnabled())
231231
yitem = cline->YItem();
232232
}
233233

0 commit comments

Comments
 (0)