aboutsummaryrefslogtreecommitdiff
path: root/comms/trustedqsl/files
diff options
context:
space:
mode:
authorStephen Hurd <shurd@FreeBSD.org>2015-12-06 11:14:46 +0000
committerStephen Hurd <shurd@FreeBSD.org>2015-12-06 11:14:46 +0000
commit0ed0fe8a98ba404ef2b3bedecd3d1000498c3af1 (patch)
tree92c6f2bdb763e2057ca2c8de651393369699cc5b /comms/trustedqsl/files
parent2d9bf48fc398c29603e1ddd7ea9ad720721c8f71 (diff)
downloadports-0ed0fe8a98ba404ef2b3bedecd3d1000498c3af1.tar.gz
ports-0ed0fe8a98ba404ef2b3bedecd3d1000498c3af1.zip
Simply remove test per upstream suggestion.
This allows builds against wxWidgets 3.0+ to succeed.
Notes
Notes: svn path=/head/; revision=403102
Diffstat (limited to 'comms/trustedqsl/files')
-rw-r--r--comms/trustedqsl/files/patch-apps_tqsl.cpp2
1 files changed, 1 insertions, 1 deletions
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]);
}