diff options
Diffstat (limited to 'external/libabw/libabw-0.0.1-stdstringfromnull.patch.1')
-rw-r--r-- | external/libabw/libabw-0.0.1-stdstringfromnull.patch.1 | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/external/libabw/libabw-0.0.1-stdstringfromnull.patch.1 b/external/libabw/libabw-0.0.1-stdstringfromnull.patch.1 new file mode 100644 index 000000000000..fccaa8ee2173 --- /dev/null +++ b/external/libabw/libabw-0.0.1-stdstringfromnull.patch.1 @@ -0,0 +1,11 @@ +--- a/src/lib/ABWContentCollector.cpp ++++ b/src/lib/ABWContentCollector.cpp +@@ -643,7 +643,7 @@ void libabw::ABWContentCollector::collectHeaderFooter(const char *id, const char + if (!type) + m_ps->m_currentHeaderFooterId = -1; + +- std::string sType(type); ++ std::string sType(type ? type : ""); + boost::trim(sType); + std::vector<std::string> strVec; + boost::algorithm::split(strVec, sType, boost::is_any_of("-"), boost::token_compress_on); |