mirror of https://github.com/kiwix/libkiwix.git
+ small beautifying of the code
This commit is contained in:
parent
0bab890203
commit
696cfc90c3
|
@ -176,7 +176,7 @@ namespace kiwix {
|
||||||
if (!itr->favicon.empty())
|
if (!itr->favicon.empty())
|
||||||
bookNode.append_attribute("favicon") = itr->favicon.c_str();
|
bookNode.append_attribute("favicon") = itr->favicon.c_str();
|
||||||
|
|
||||||
if (itr->faviconMimeType != "")
|
if (!itr->faviconMimeType.empty())
|
||||||
bookNode.append_attribute("faviconMimeType") = itr->faviconMimeType.c_str();
|
bookNode.append_attribute("faviconMimeType") = itr->faviconMimeType.c_str();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue