Subversion Repositories svn1-original

Rev

Rev 199 | Rev 207 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 199 Rev 203
Line 2113... Line 2113...
2113
    /*
2113
    /*
2114
     *  Insert the contents of the config.addendum file
2114
     *  Insert the contents of the config.addendum file
2115
     *  or a defualt message
2115
     *  or a defualt message
2116
     */
2116
     */
2117
    if( config.addendum[0] )
2117
    if( config.addendum[0] )
-
 
2118
    {
-
 
2119
        const char *name = QmConfig::getAddendemFile(config.addendum);
-
 
2120
        if (name)
2118
        adfile = fopen( config.addendum, "rt" );  /* Open the file for reading */
2121
            adfile = fopen( name, "rt" );  /* Open the file for reading */
-
 
2122
    }
2119
 
2123
 
2120
    if( adfile )
2124
    if( adfile )
2121
    {
2125
    {
2122
        while( fgets( line, sizeof(line)-1, adfile ) )
2126
        while( fgets( line, sizeof(line)-1, adfile ) )
2123
            print( "%s", line );
2127
            print( "%s", line );