rev 132 - trunk/modules/Int
SVN User <[email protected]>
| Newsgroups | gmane.comp.lang.prothon.cvs |
|---|---|
| Message-ID | <[email protected]> |
Author: bcollins
Date: 2004-03-26 11:25:30 -0500 (Fri, 26 Mar 2004)
New Revision: 132
Modified:
trunk/modules/Int/Int.c
Log:
Had the logic for __not__ reversed.
Modified: trunk/modules/Int/Int.c
===================================================================
--- trunk/modules/Int/Int.c 2004-03-26 16:23:00 UTC (rev 131)
+++ trunk/modules/Int/Int.c 2004-03-26 16:25:30 UTC (rev 132)
@@ -70,8 +70,8 @@
}
DEF(INT_PROTO_OBJ, __not__, NULL) {
- if (Int_value(self)) return OBJ(TRUE);
- else return OBJ(FALSE);
+ if (Int_value(self)) return OBJ(FALSE);
+ else return OBJ(TRUE);
}
DEF(INT_PROTO_OBJ, __hash__, NULL) {
_______________________________________________
Prothon-commits mailing list
[email protected]
http://lists.prothon.org/mailman/listinfo/prothon-commits