diff options
author | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2012-08-21 13:01:37 +0200 |
---|---|---|
committer | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2012-08-21 13:01:54 +0200 |
commit | 6a308e8451ba3c32b203824a229e0c68f8a32cca (patch) | |
tree | 93eb3cde6bcfda43db90b6a9b34ecf348729ab0b /libmspub | |
parent | e9febb63db2f62cd2b9505dfc4ceb3accc32aecb (diff) |
Fixing error: \u0000 is not a valid universal character
Change-Id: Idfc96e5f4b31cf54fdb9734b6e3cb87d3aabc786
Diffstat (limited to 'libmspub')
-rw-r--r-- | libmspub/libmspub-0.0.3.patch | 20 | ||||
-rw-r--r-- | libmspub/makefile.mk | 3 |
2 files changed, 23 insertions, 0 deletions
diff --git a/libmspub/libmspub-0.0.3.patch b/libmspub/libmspub-0.0.3.patch new file mode 100644 index 000000000000..c2c8ee18b20c --- /dev/null +++ b/libmspub/libmspub-0.0.3.patch @@ -0,0 +1,20 @@ +--- misc/libmspub-0.0.3/src/lib/MSPUBParser.cpp 2012-08-21 11:40:41.000000000 +0200 ++++ misc/build/libmspub-0.0.3/src/lib/MSPUBParser.cpp 2012-08-21 12:58:58.435884355 +0200 +@@ -1151,7 +1151,7 @@ + ParagraphStyle ret; + + bool isList = false; +- uint32_t bulletChar = '\u0000'; ++ uint32_t bulletChar = 0; + NumberingType numberingType = STANDARD_WESTERN; + NumberingDelimiter numberingDelimiter = NO_DELIMITER; + boost::optional<unsigned> numberIfRestarted; +@@ -1256,7 +1256,7 @@ + } + if (isList) + { +- if (bulletChar != '\u0000') ++ if (bulletChar) + { + ret.m_listInfo = ListInfo(bulletChar); + } diff --git a/libmspub/makefile.mk b/libmspub/makefile.mk index d894e20ac441..635d8ed6c838 100644 --- a/libmspub/makefile.mk +++ b/libmspub/makefile.mk @@ -65,6 +65,9 @@ TARFILE_MD5=b2db54b6e96287ac995d7ed654ace4fc BUILD_ACTION=dmake $(MFLAGS) $(CALLMACROS) BUILD_DIR=src$/lib +PATCH_FILES=\ + $(TARFILE_NAME).patch + # --- Targets ------------------------------------------------------ .INCLUDE : set_ext.mk |