23 lines
608 B
Diff
23 lines
608 B
Diff
--- src/ApvlvCmds.cc
|
|
+++ 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;
|
|
--- src/ApvlvCore.cc
|
|
+++ 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;
|
|
|