From 02774b8ff4b639546720b87e8112aeec55c68495 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Sun, 29 Dec 2019 19:00:58 +0100 Subject: Here you go, object-oriented lowbat --- src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main.cpp') diff --git a/src/main.cpp b/src/main.cpp index d9f6874..dfcc2f4 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -20,7 +20,7 @@ int main(int argc, const char *argv[]) { return 2; } if (argc > 2 && !strcmp(argv[1], "--say")) { - if (lowbat.jo_testEspeak()) { + if (!lowbat.jo_testEspeak()) { lowbat.jo_setMsg(argv[2]); speaks = 1; } -- cgit v1.2.3