aboutsummaryrefslogtreecommitdiffstats
path: root/comms
diff options
context:
space:
mode:
authorshurd <shurd@FreeBSD.org>2015-12-06 19:14:46 +0800
committershurd <shurd@FreeBSD.org>2015-12-06 19:14:46 +0800
commitdae294656220309ebeaaff4b331ea88f8274b70d (patch)
tree92c6f2bdb763e2057ca2c8de651393369699cc5b /comms
parent0a0d07a55e8244e48176337d7e8de13dc1043712 (diff)
downloadfreebsd-ports-gnome-dae294656220309ebeaaff4b331ea88f8274b70d.tar.gz
freebsd-ports-gnome-dae294656220309ebeaaff4b331ea88f8274b70d.tar.zst
freebsd-ports-gnome-dae294656220309ebeaaff4b331ea88f8274b70d.zip
Simply remove test per upstream suggestion.
This allows builds against wxWidgets 3.0+ to succeed.
Diffstat (limited to 'comms')
-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]);
}