diff options
author | Herbert Dürr <hdu@apache.org> | 2013-02-12 09:54:31 +0000 |
---|---|---|
committer | Herbert Dürr <hdu@apache.org> | 2013-02-12 09:54:31 +0000 |
commit | 1e80ed2aecc9210729e2aa5a9d682563cb9d1a0b (patch) | |
tree | bbc5e0bdaf1228dbcc567f00758d55a7427ffd72 /hwpfilter | |
parent | 700fb025a6f0f4e14faa1d295bf0e94cc05e3ebb (diff) |
unbrace string literal to prevent clang crashing with problem PR12226
Clang has had problems with braced string literals of unsigned chars
(http://llvm.org/viewvc/llvm-project?revision=154756&view=revision)
so we have to avoid them if we need to compile with such versions
Notes
Diffstat (limited to 'hwpfilter')
-rw-r--r-- | hwpfilter/source/hbox.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hwpfilter/source/hbox.cpp b/hwpfilter/source/hbox.cpp index 772df2a2f845..982f1b8a571d 100644 --- a/hwpfilter/source/hbox.cpp +++ b/hwpfilter/source/hbox.cpp @@ -425,7 +425,7 @@ hchar_string MailMerge::GetString() static hchar olHanglJaso(int num, int type) { static unsigned char han_init[] = - { "\x88\x90\x94\x9c\xa0\xa4\xac\xb4\xb8\xc0\xc4\xc8\xcc\xd0" }; + "\x88\x90\x94\x9c\xa0\xa4\xac\xb4\xb8\xc0\xc4\xc8\xcc\xd0"; static unsigned char jung[] = { 3, 5, 7, 11, 13, 19, 20, 26, 27, 29, 30 }; static unsigned char jung2[] = { 3, 7, 13, 20, 27, 29, 30 }; |