diff --git a/sv/sv0.cpp b/sv/sv0.cpp index ad2605638..a51dc7a25 100755 --- a/sv/sv0.cpp +++ b/sv/sv0.cpp @@ -9,10 +9,10 @@ int main(int argc, char** argv) switch(n) { case 0: - sv0100(argc, argv); + sv0100(argc, argv); // gestione tabelle del modulo break; case 3: - sv0400(argc, argv); + sv0400(argc, argv); // parametrizzazione modulo break; default: error_box("Invalid argument %s", argv[1]); diff --git a/sv/sv0100.cpp b/sv/sv0100.cpp index 739c45696..115ac54cb 100755 --- a/sv/sv0100.cpp +++ b/sv/sv0100.cpp @@ -327,10 +327,10 @@ int sv0100(int argc, char* argv[]) TApplication::check_parameters(argc, argv); if (argc > 2) { - const TFixed_string tab(argv[2]); + TFixed_string tab(argv[2]); TSV_tabapp* app; - if (tab == "PSV") + if (tab.upper() == "PSV") app = new TPSV_tabapp; else app = new TSV_tabapp;