From 745b22d51ef7e07db89ab80cd52d9905ea2c8e8d Mon Sep 17 00:00:00 2001 From: villa Date: Fri, 31 May 1996 09:49:25 +0000 Subject: [PATCH] Kazz'arole git-svn-id: svn://10.65.10.50/trunk@2941 c028cbd2-c16b-5b4b-a496-9718f37d4682 --- cg/cg6400.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/cg/cg6400.cpp b/cg/cg6400.cpp index cdc0308f2..b485734c2 100755 --- a/cg/cg6400.cpp +++ b/cg/cg6400.cpp @@ -49,9 +49,11 @@ class TRic_archivi : public TApplication TDate _datatras,_datatrasp,_dataultras_tab,_dataultras; TString _sigle_file,_nrec_file,_trasfhard; char _agg_cau,_agg_pcon,_agg_cls,_agg_clifo,_agg_fatatt,_agg_fatpas; + TString _titolo; public: - TString _titolo; + + const char* titolo() { return _titolo; } virtual bool create(); virtual bool destroy(); @@ -880,8 +882,8 @@ int cg6400 (int argc, char* argv[]) if (argc > 4) p3 = *argv[3]; - TRic_archivi main_app(*argv[2],p3); - main_app.run(argc, argv,main_app._titolo); + TRic_archivi app(*argv[2],p3); + app.run(argc, argv, app.titolo()); return TRUE; }