Changeset 239 for trunk/src/JobPrint.cxx

Show
Ignore:
Timestamp:
06/14/06 14:56:19 (2 years ago)
Author:
jordi
Message:

I was storing the Color Model's value as an integer and it should be a string (see bug #39). This also explains the crashes when trying to free the option's string, so I've put back the g_free() calls.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/JobPrint.cxx

    r233 r239  
    497497    } 
    498498    numOptions = cupsAddOption ("number-up", layout, numOptions, &options); 
     499    g_free (layout); 
    499500    numOptions = cupsAddOption ("ColorModel", job->getColorModel (), 
    500501                                numOptions, &options); 
    501     numOptions = cupsAddOption ("Resolution", job->getResolution (), 
     502    numOptions = cupsAddOption ("resolution", job->getResolution (), 
    502503                                numOptions, &options); 
    503504