Subversion Repositories Kolibri OS

Rev

Rev 7994 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 7994 Rev 8583
Line 45... Line 45...
45
 
45
 
Line 46... Line 46...
46
 
46
 
47
int main(int argc, char** argv)
47
int main(int argc, char** argv)
48
{
-
 
49
    if (con_init_console_dll()) return 1; // init fail.
-
 
50
 
-
 
Line 51... Line 48...
51
    con_set_title("Backy");
48
{
52
 
49
 
53
// ============================================================ //
50
// ============================================================ //
54
// preprocessing arguments from the command line. ============= //
51
// preprocessing arguments from the command line. ============= //
Line 149... Line 146...
149
        }
146
        }
150
    }
147
    }
151
    else
148
    else
152
    {
149
    {
153
        con_set_title("Useful info!");
150
    	if (con_init_console_dll()) return 1; // init fail.
-
 
151
 
-
 
152
        con_set_title("Useful info!");
154
 
153
 
Line 155... Line 154...
155
        #if defined (lang_en)
154
        #if defined (lang_en)
Line 156... Line 155...
156
 
155
 
157
            con_printf("\n Name: Backy");
156
            con_printf("\n Name: Backy");
158
            con_printf("\n Date: %s", CREATION_DATE);
157
            con_printf("\n Date: %s", CREATION_DATE);
Line 159... Line 158...
159
            con_printf("\n Description: The programme for backing up a file.\n");
158
            con_printf("\n Description: The programm for backing up a file.\n");
Line 160... Line 159...
160
 
159
 
161
            con_printf("\n Author: JohnXenox\n");
160
            con_printf("\n Author: JohnXenox\n");
Line 373... Line 372...
373
    data = openFile(&length, path_in);
372
    data = openFile(&length, path_in);
Line 374... Line 373...
374
 
373
 
375
    if(data == 0)
374
    if(data == 0)
-
 
375
    {
-
 
376
    	if (con_init_console_dll()) return 1; // init fail.
-
 
377
        con_set_title("Backy");
376
    {
378
 
Line 377... Line 379...
377
        #if defined (lang_en)
379
        #if defined (lang_en)
Line 378... Line 380...
378
 
380