~ubuntu-branches/ubuntu/raring/scilab/raring-proposed

« back to all changes in this revision

Viewing changes to modules/graphics/src/c/getHandleProperty/set_font_style_property.c

  • Committer: Package Import Robot
  • Author(s): Sylvestre Ledru
  • Date: 2012-08-30 14:42:38 UTC
  • mfrom: (1.4.7)
  • Revision ID: package-import@ubuntu.com-20120830144238-c1y2og7dbm7m9nig
Tags: 5.4.0-beta-3-1~exp1
* New upstream release
* Update the scirenderer dep
* Get ride of libjhdf5-java dependency

Show diffs side-by-side

added added

removed removed

Lines of Context:
39
39
    /* number of fonts available */
40
40
    int nbInstalledFonts = getNbInstalledFonts();
41
41
 
42
 
    if ( !isParameterDoubleMatrix( valueType ) )
 
42
    if ( !( valueType == sci_matrix ) )
43
43
    {
44
44
        Scierror(999, _("Wrong type for '%s' property: Integer expected.\n"), "font_style");
45
45
        return SET_PROPERTY_ERROR;
62
62
    }
63
63
    else
64
64
    {
65
 
        Scierror(999, _("'%s' property does not exist for this handle.\n"),"font_style");
 
65
        Scierror(999, _("'%s' property does not exist for this handle.\n"), "font_style");
66
66
        return SET_PROPERTY_ERROR;
67
67
    }
68
68