From 0ed0fe8a98ba404ef2b3bedecd3d1000498c3af1 Mon Sep 17 00:00:00 2001 From: Stephen Hurd Date: Sun, 6 Dec 2015 11:14:46 +0000 Subject: Simply remove test per upstream suggestion. This allows builds against wxWidgets 3.0+ to succeed. --- comms/trustedqsl/files/patch-apps_tqsl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'comms/trustedqsl/files') diff --git a/comms/trustedqsl/files/patch-apps_tqsl.cpp b/comms/trustedqsl/files/patch-apps_tqsl.cpp index 483344f94d51..1e986b65b771 100644 --- a/comms/trustedqsl/files/patch-apps_tqsl.cpp +++ b/comms/trustedqsl/files/patch-apps_tqsl.cpp @@ -5,7 +5,7 @@ origCommandLine += wxT(" "); origCommandLine += argv[i]; - if (argv[i] && (argv[i][0] == wxT('-') || argv[i][0] == wxT('/'))) -+ if (argv[i] != NULL && (argv[i][0] == wxT('-') || argv[i][0] == wxT('/'))) ++ if ((argv[i][0] == wxT('-') || argv[i][0] == wxT('/'))) if (wxIsalpha(argv[i][1]) && wxIsupper(argv[i][1])) argv[i][1] = wxTolower(argv[i][1]); } -- cgit v1.2.3