aboutsummaryrefslogtreecommitdiff
path: root/include/smdatapack.hpp
diff options
context:
space:
mode:
authorGravatar Chris Xiong <chirs241097@gmail.com> 2015-08-17 22:40:33 +0800
committerGravatar Chris Xiong <chirs241097@gmail.com> 2015-08-17 22:40:33 +0800
commit03a307b58ddc6244d3fad8d77d7f0bac0a24e05d (patch)
treec578005d3c66ccc53ed454e63403c30f72230924 /include/smdatapack.hpp
parentbfe4f5ac512493bd9a359a06875288fbfaea6ff8 (diff)
downloadbullet-lab-remix-03a307b58ddc6244d3fad8d77d7f0bac0a24e05d.tar.xz
Fix crashes in smAnmFile.
Do not crash if a non-exist file is requested in a DTP file. Fix several stupid typos. Fix missing smEntity3D constructor. Fix line spacing in smTTFont.
Diffstat (limited to 'include/smdatapack.hpp')
-rw-r--r--include/smdatapack.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/smdatapack.hpp b/include/smdatapack.hpp
index 8431b58..2689eb3 100644
--- a/include/smdatapack.hpp
+++ b/include/smdatapack.hpp
@@ -30,10 +30,10 @@ private:
bool enmemory;
DWORD msize;
- char *cp,*bp;
+ const char *cp,*bp;
public:
bool openDtp(const char* path);
- bool openDtpFromMemory(char* ptr,DWORD size);
+ bool openDtpFromMemory(const char* ptr,DWORD size);
void closeDtp();
char* getFirstFile();
char* getLastFile();