[Libreoffice-commits] libcdr.git: src/lib
Fridrich Å trba
fridrich.strba at bluewin.ch
Fri Mar 29 08:04:46 PDT 2013
src/lib/libcdr_utils.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit d543f25cf256f83ca1ccabc84a7eb100efcf7281
Author: Fridrich Å trba <fridrich.strba at bluewin.ch>
Date: Fri Mar 29 15:59:41 2013 +0100
A little tiny nit
diff --git a/src/lib/libcdr_utils.cpp b/src/lib/libcdr_utils.cpp
index f6e5825..7ea24a4 100644
--- a/src/lib/libcdr_utils.cpp
+++ b/src/lib/libcdr_utils.cpp
@@ -156,7 +156,7 @@ static void _appendUCS4(WPXString &text, UChar32 ucs4Character)
if (ucs4Character == (UChar32) 0x0d)
ucs4Character = (UChar32) '\n';
- unsigned char outbuf[5];
+ unsigned char outbuf[U8_MAX_LENGTH+1];
int i = 0;
U8_APPEND_UNSAFE(&outbuf[0], i, ucs4Character);
outbuf[i] = 0;
More information about the Libreoffice-commits
mailing list