- Fixed crash when moving link points

- Bumped to version 1.8
This commit is contained in:
Rob Pearce 2006-05-19 02:02:31 +00:00
parent 1325f8c3f7
commit c56dca3dfa
4 changed files with 20 additions and 2 deletions

View File

@ -3,6 +3,19 @@ Ideas for future versions:
Solaris (and possibly other platforms) Solaris (and possibly other platforms)
- Perhaps change to SVG for objects - Perhaps change to SVG for objects
Version 1.7h:
- Fixed crash when moving link points
Version 1.7g:
- "Create map link" screen is now scrollable with ,/./q/w keys
- Fix bug with font file location - now searches $NETMAPRDIR for it once more.
w no longer prints messages at startup.
Version 1.7f:
- Now no longer prints messages at startup.
- Fixed numerous crashes (graphics functions now check for out of bounds
coordinates)
Version 1.7e: Version 1.7e:
- Fixed memory leaks - Fixed memory leaks
- Fixed 100% CPU usage bug - Fixed 100% CPU usage bug

View File

@ -1,4 +1,4 @@
#define VERSION "1.7g" #define VERSION "1.8"
/* variable sizes */ /* variable sizes */
#define SMALLBUFLEN 64 /* small text buffer */ #define SMALLBUFLEN 64 /* small text buffer */

View File

@ -9,6 +9,7 @@ mkdir ${FULLNAME}
cp README.txt INSTALL.txt Makefile.linux Makefile.freebsd Makefile.windows objects.dat buttons.dat netmapr.c netmapr.h constants.h convert.c convert.h icon.bmp verdana.ttf example.map ${FULLNAME}/ cp README.txt INSTALL.txt Makefile.linux Makefile.freebsd Makefile.windows objects.dat buttons.dat netmapr.c netmapr.h constants.h convert.c convert.h icon.bmp verdana.ttf example.map ${FULLNAME}/
cp -R doc ${FULLNAME}/ cp -R doc ${FULLNAME}/
rm -rf ${FULLNAME}/doc/CVS rm -rf ${FULLNAME}/doc/CVS
rm -rf ${FULLNAME}/doc/.svn
tar zcvf ${TARFILE} ${FULLNAME} tar zcvf ${TARFILE} ${FULLNAME}
rm -rf ${FULLNAME} rm -rf ${FULLNAME}
@ -17,5 +18,6 @@ mkdir ${FULLNAME}
cp README.txt INSTALL.txt objects.dat buttons.dat netmapr.exe netmapr.c netmapr.h constants.h convert.c convert.h verdana.ttf example.map icon.bmp windows_files/*.dll ${FULLNAME}/ cp README.txt INSTALL.txt objects.dat buttons.dat netmapr.exe netmapr.c netmapr.h constants.h convert.c convert.h verdana.ttf example.map icon.bmp windows_files/*.dll ${FULLNAME}/
cp -R doc ${FULLNAME}/ cp -R doc ${FULLNAME}/
rm -rf ${FULLNAME}/doc/CVS rm -rf ${FULLNAME}/doc/CVS
rm -rf ${FULLNAME}/doc/.svn
zip -r ${WINFILE} ${FULLNAME} zip -r ${WINFILE} ${FULLNAME}
rm -rf ${FULLNAME} rm -rf ${FULLNAME}

View File

@ -8582,7 +8582,10 @@ int endlinkdstmove(int x, int y) {
int endlinkpointmove(int x, int y) { int endlinkpointmove(int x, int y) {
/* free variable */ /* free variable */
if (bg) free(bg); if (bg) {
SDL_FreeSurface(bg);
bg = NULL;
}
/* adjust for grid */ /* adjust for grid */