summaryrefslogtreecommitdiffstats
path: root/kcontrol/info/info_openbsd.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2014-10-12 17:56:39 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2014-10-12 17:56:39 -0500
commite2c5ea4cdad7dbb560be87a7d3c894e980b5ab6f (patch)
treeb2717634a496f982c82b13c6aa67252caad85268 /kcontrol/info/info_openbsd.cpp
parent1346f6898707e6a4d95abee07c3d1608fc056998 (diff)
parent68cfc4fec0fed7ef4da9f03da68bd61900654ee3 (diff)
downloadtdebase-e2c5ea4cdad7dbb560be87a7d3c894e980b5ab6f.tar.gz
tdebase-e2c5ea4cdad7dbb560be87a7d3c894e980b5ab6f.zip
Merge branch 'master' of http://scm.trinitydesktop.org/scm/git/tdebase
Diffstat (limited to 'kcontrol/info/info_openbsd.cpp')
-rw-r--r--kcontrol/info/info_openbsd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kcontrol/info/info_openbsd.cpp b/kcontrol/info/info_openbsd.cpp
index 12ec8ee2d..7b484da76 100644
--- a/kcontrol/info/info_openbsd.cpp
+++ b/kcontrol/info/info_openbsd.cpp
@@ -235,7 +235,7 @@ bool GetInfo_Sound (TQListView *lbox)
if ((pos = s.find("at ")) >= 0) {
pos += 3; // skip "at "
start = end = s.ascii();
- for(; (*end!=':') && (*end!='\n'); end++);
+ for(; *end && (*end!=':') && (*end!='\n'); end++);
len = end - start;
dev = (char *) malloc(len + 1);
strncpy(dev, start, len);