From 95949153e0a05b45f98c13196b2621f8ed407bc5 Mon Sep 17 00:00:00 2001 From: Pragmatic Software Date: Tue, 24 Jun 2014 05:38:59 +0000 Subject: [PATCH] CGrammar: Change "is true" to "is nonzero" --- PBot/VERSION.pm | 2 +- modules/c2english/c2eng.pl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/PBot/VERSION.pm b/PBot/VERSION.pm index 37f66c80..930df8d7 100644 --- a/PBot/VERSION.pm +++ b/PBot/VERSION.pm @@ -13,7 +13,7 @@ use warnings; # These are set automatically by the build/commit script use constant { BUILD_NAME => "PBot", - BUILD_REVISION => 673, + BUILD_REVISION => 674, BUILD_DATE => "2014-06-23", }; diff --git a/modules/c2english/c2eng.pl b/modules/c2english/c2eng.pl index 80481d9a..60620802 100755 --- a/modules/c2english/c2eng.pl +++ b/modules/c2english/c2eng.pl @@ -94,7 +94,7 @@ sub istrue { foreach my $part (@parts) { $result .= $and; if($part !~ /(greater|less|equal|false$)/) { - $result .= "$part is true"; + $result .= "$part is nonzero"; } else { $result .= $part; }