summaryrefslogtreecommitdiffstats
path: root/Source/CursesDialog/cmCursesCacheEntryComposite.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2008-03-07 21:32:09 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2008-03-07 21:32:09 (GMT)
commit354abb72d9de0fbcf7e02bc0aeb32f919b19ccac (patch)
tree2f5ec21e67926cb5b87e8b4da98a03f0c579d81a /Source/CursesDialog/cmCursesCacheEntryComposite.cxx
parent22f12322bb0b6cae9755b065730e72db4d1d8973 (diff)
downloadCMake-354abb72d9de0fbcf7e02bc0aeb32f919b19ccac.zip
CMake-354abb72d9de0fbcf7e02bc0aeb32f919b19ccac.tar.gz
CMake-354abb72d9de0fbcf7e02bc0aeb32f919b19ccac.tar.bz2
ENH: fix it for working with an empty cache
Diffstat (limited to 'Source/CursesDialog/cmCursesCacheEntryComposite.cxx')
-rw-r--r--Source/CursesDialog/cmCursesCacheEntryComposite.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/CursesDialog/cmCursesCacheEntryComposite.cxx b/Source/CursesDialog/cmCursesCacheEntryComposite.cxx
index 3a43f3e..c458ce5 100644
--- a/Source/CursesDialog/cmCursesCacheEntryComposite.cxx
+++ b/Source/CursesDialog/cmCursesCacheEntryComposite.cxx
@@ -30,7 +30,8 @@ cmCursesCacheEntryComposite::cmCursesCacheEntryComposite(const char* key,
{
this->Label = new cmCursesLabelWidget(this->LabelWidth, 1, 1, 1, key);
this->IsNewLabel = new cmCursesLabelWidget(1, 1, 1, 1, " ");
- this->Entry = 0;
+ this->Entry = 0;
+ this->Entry = new cmCursesStringWidget(this->EntryWidth, 1, 1, 1);
}
cmCursesCacheEntryComposite::cmCursesCacheEntryComposite(