summaryrefslogtreecommitdiff
blob: e55f2771395a62e78bc025257599cd37266a42fb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--- apvlv-0.1.5+dfsg.orig/src/ApvlvCmds.cc
+++ apvlv-0.1.5+dfsg/src/ApvlvCmds.cc
@@ -200,7 +200,7 @@ namespace apvlv
 
     if (len >= 4
 	&& *s == '<'
-	&& (e = strchr ((char *) s, '>')) != '\0' && *(s + 2) != '-')
+	&& (e = strchr ((char *) s, '>')) && *(s + 2) != '-')
       {
 	e++;
 	StringKeyMap::iterator it;
--- apvlv-0.1.5+dfsg.orig/src/ApvlvCore.cc
+++ apvlv-0.1.5+dfsg/src/ApvlvCore.cc
@@ -90,7 +90,7 @@ namespace apvlv
   {
     mInuse = use;
 
-    if (mInuse == false && gView->hasloaded (filename (), type ()) == false)
+    if (mInuse == false && !gView->hasloaded (filename (), type ()))
       {
 	debug ("core :%p is not needed, delete it\n", this);
 	delete this;