summaryrefslogtreecommitdiffstats
path: root/Source/CursesDialog/ccurses.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/CursesDialog/ccurses.cxx')
-rw-r--r--Source/CursesDialog/ccurses.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/CursesDialog/ccurses.cxx b/Source/CursesDialog/ccurses.cxx
index b89f16c..6d9b34a 100644
--- a/Source/CursesDialog/ccurses.cxx
+++ b/Source/CursesDialog/ccurses.cxx
@@ -59,11 +59,11 @@ int main(int argc, char** argv)
if ( argc == 2 )
{
- myform = new cmCursesMainForm(argv[1], newCache);
+ myform = new cmCursesMainForm(argv[1], argv[0], newCache);
}
else
{
- myform = new cmCursesMainForm("", newCache);
+ myform = new cmCursesMainForm("", argv[0], newCache);
}
myform->InitializeUI(w);
myform->Render(1, 1, x, y);