Fixed minor bug.

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@224 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Dave Beazley 2000-02-11 19:18:54 +00:00
commit feb67fb7db

View file

@ -158,7 +158,7 @@ If you have used typedef to change type-names, you can also do this :
double NONPOSITIVE,
Number NONPOSITIVE
{
if ($target < 0) {
if ($target > 0) {
SWIG_exception(SWIG_ValueError,"Expected a non-positive value.");
}
}