Download | Plain Text | No Line Numbers


  1. --- nohtml_orig\filter.cpp Tue Aug 03 18:19:24 2010
  2. +++ nohtml\filter.cpp Tue Aug 03 18:42:28 2010
  3. @@ -124,9 +124,9 @@
  4. free(messagew);
  5.  
  6. //delete[] pre->szMessage; not necessary - done in server.cpp
  7. - buf=(char *)malloc(wcslen(st_wbuf)*3+3);
  8. - WideCharToMultiByte(CP_UTF8, 0, st_wbuf, -1,buf,wcslen(st_wbuf)+1, NULL, NULL);
  9. - memcpy(&buf[strlen(buf)+1], st_wbuf, lstrlen(buf)*2+2);
  10. + size = WideCharToMultiByte(CP_UTF8, 0, st_wbuf, -1, NULL, 0 , NULL, NULL);
  11. + buf = (char *)malloc(size);
  12. + WideCharToMultiByte(CP_UTF8, 0, st_wbuf, -1, buf, size, NULL, NULL);
  13. delete[] st_wbuf;
  14. pre->szMessage = buf;
  15. } else if(pre->flags & PREF_UNICODE) {
  16. --- nohtml_orig\version.h Tue Aug 03 18:19:24 2010
  17. +++ nohtml\version.h Tue Aug 03 18:24:11 2010
  18. @@ -4,8 +4,8 @@
  19.  
  20. #define __MAJOR_VERSION 0
  21. #define __MINOR_VERSION 0
  22. -#define __RELEASE_NUM 2
  23. -#define __BUILD_NUM 4
  24. +#define __RELEASE_NUM 3
  25. +#define __BUILD_NUM 0
  26.  
  27. #define __FILEVERSION_STRING __MAJOR_VERSION,__MINOR_VERSION,__RELEASE_NUM,__BUILD_NUM
  28. #define __FILEVERSION_STRING_DOTS __MAJOR_VERSION.__MINOR_VERSION.__RELEASE_NUM.__BUILD_NUM
  29. @@ -20,7 +20,7 @@
  30. #define __FILENAME "nohtml.dll"
  31.  
  32. #define __DESC "Removes HTML tags from messages, optionally replacing them with bbcodes"
  33. -#define __AUTHOR "Scott Ellis"
  34. +#define __AUTHOR "Scott Ellis, Manuel Mausz"
  35. #define __AUTHOREMAIL "mail@scottellis.com.au"
  36. #define __AUTHORWEB "http://www.scottellis.com.au"
  37. #define __COPYRIGHT "© 2007 Scott Ellis"
  38.