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

« back to all changes in this revision

Viewing changes to modules/graphics/src/c/getHandleProperty/set_foreground_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:
35
35
    BOOL status = FALSE;
36
36
    int lineColor = 0;
37
37
 
38
 
    if ( !isParameterDoubleMatrix( valueType ) )
 
38
    if ( !( valueType == sci_matrix ) )
39
39
    {
40
40
        Scierror(999, _("Wrong type for '%s' property: Integer expected.\n"), "foreground");
41
41
        return SET_PROPERTY_ERROR;
51
51
    }
52
52
    else
53
53
    {
54
 
        Scierror(999, _("'%s' property does not exist for this handle.\n"),"foreground");
 
54
        Scierror(999, _("'%s' property does not exist for this handle.\n"), "foreground");
55
55
        return SET_PROPERTY_ERROR;
56
56
    }
57
57
}