author | llornkcor <llornkcor> | 2002-09-14 03:10:21 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2002-09-14 03:10:21 (UTC) |
commit | a17482a473c90c7e030bbf7a03b252fdaf53c2ed (patch) (side-by-side diff) | |
tree | f97827d63f6a8d40ad9df7bc96907a2bdcfc3be2 /noncore/apps/opie-reader/ZText.h | |
parent | 2f55be65436cb05a8580f4a436f94bce9de48da7 (diff) | |
download | opie-a17482a473c90c7e030bbf7a03b252fdaf53c2ed.zip opie-a17482a473c90c7e030bbf7a03b252fdaf53c2ed.tar.gz opie-a17482a473c90c7e030bbf7a03b252fdaf53c2ed.tar.bz2 |
zlib.h include dir change
Diffstat (limited to 'noncore/apps/opie-reader/ZText.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/opie-reader/ZText.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/noncore/apps/opie-reader/ZText.h b/noncore/apps/opie-reader/ZText.h index 9e72161..debfe8c 100644 --- a/noncore/apps/opie-reader/ZText.h +++ b/noncore/apps/opie-reader/ZText.h @@ -1,16 +1,16 @@ #ifndef __Text_h #define __Text_h #include <stdio.h> -#include <zlib.h> +#include "zlib/zlib.h" #include <sys/stat.h> #include "CExpander.h" class Text: public CExpander { gzFile file; unsigned long fsize; public: Text() : file(NULL) {}; virtual ~Text() { if (file != NULL) gzclose(file); @@ -24,16 +24,16 @@ public: return ((file = gzopen(src,"rb")) == NULL); } virtual int getch() { return gzgetc(file); } virtual unsigned int locate() { return gztell(file); } virtual void locate(unsigned int n) { gzseek(file,n,SEEK_SET); } virtual bool hasrandomaccess() { return true; } virtual void sizes(unsigned long& _file, unsigned long& _text) { _text = _file = fsize; } virtual MarkupType PreferredMarkup() { - return cTEXT; + return cTEXT; } }; #endif |