diff options
author | samelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-05-06 22:03:48 +0000 |
---|---|---|
committer | samelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-05-06 22:03:48 +0000 |
commit | 0f962a277e58ccb2c6d9ee36ce68966db9b071cc (patch) | |
tree | e5341e2fcac3338daf25796bc20ae8c16307673e /kviewshell/plugins/djvu/libdjvu/IFFByteStream.cpp | |
parent | 19158a8de8416c95f7c961e107c475dd786f6449 (diff) | |
download | tdegraphics-0f962a277e58ccb2c6d9ee36ce68966db9b071cc.tar.gz tdegraphics-0f962a277e58ccb2c6d9ee36ce68966db9b071cc.zip |
[kdegraphics] cmake support for kamera, kcoloredit, and kviewshell
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1230743 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kviewshell/plugins/djvu/libdjvu/IFFByteStream.cpp')
-rw-r--r-- | kviewshell/plugins/djvu/libdjvu/IFFByteStream.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kviewshell/plugins/djvu/libdjvu/IFFByteStream.cpp b/kviewshell/plugins/djvu/libdjvu/IFFByteStream.cpp index 9bf184bd..c8b79809 100644 --- a/kviewshell/plugins/djvu/libdjvu/IFFByteStream.cpp +++ b/kviewshell/plugins/djvu/libdjvu/IFFByteStream.cpp @@ -145,12 +145,12 @@ IFFByteStream::check_id(const char *id) if (id[i]<0x20 || id[i]>0x7e) return -1; // check composite chunks - static char *szComposite[] = { "FORM", "LIST", "PROP", "CAT ", 0 }; + static const char *szComposite[] = { "FORM", "LIST", "PROP", "CAT ", 0 }; for (i=0; szComposite[i]; i++) if (!memcmp(id, szComposite[i], 4)) return 1; // check reserved chunks - static char *szReserved[] = { "FOR", "LIS", "CAT", 0 }; + static const char *szReserved[] = { "FOR", "LIS", "CAT", 0 }; for (i=0; szReserved[i]; i++) if (!memcmp(id, szReserved[i], 3) && id[3]>='1' && id[3]<='9') return -1; |