summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--yapp/YAPP.mdsp22
-rw-r--r--yapp/services.cpp2
-rw-r--r--yapp/version.h2
3 files changed, 14 insertions, 12 deletions
diff --git a/yapp/YAPP.mdsp b/yapp/YAPP.mdsp
index a8c3c3d..7ac3ef6 100644
--- a/yapp/YAPP.mdsp
+++ b/yapp/YAPP.mdsp
@@ -110,15 +110,15 @@ extraResourceOptions=
1=popups2.rc
2=version.rc
[History]
-message_pump.cpp,1129
-common.h,2366
-popup_history.cpp,2330
-resource.rc,23
-version.rc,24
-resource.h,2161
-popups2.rc,830
-popups2.cpp,1500
-..\..\include\m_plugins.h,0
-..\..\include\newpluginapi.h,1181
version.h,150
-popwin.cpp,2081
+..\..\include\newpluginapi.h,1181
+..\..\include\m_plugins.h,0
+popups2.cpp,1500
+popups2.rc,830
+resource.h,2161
+version.rc,24
+resource.rc,23
+popup_history.cpp,2330
+common.h,2366
+message_pump.cpp,1129
+popwin.cpp,2018
diff --git a/yapp/services.cpp b/yapp/services.cpp
index 96e897c..573ae58 100644
--- a/yapp/services.cpp
+++ b/yapp/services.cpp
@@ -347,6 +347,8 @@ int RegisterPopupClass(WPARAM wParam, LPARAM lParam) {
int CreateClassPopup(WPARAM wParam, LPARAM lParam) {
POPUPDATACLASS *pdc = (POPUPDATACLASS *)lParam;
+ if(pdc->cbSize != sizeof(POPUPDATACLASS)) return 1;
+
POPUPCLASS *pc = 0;
if(wParam) pc = (POPUPCLASS *)wParam;
else {
diff --git a/yapp/version.h b/yapp/version.h
index 549dfd5..6fd31b0 100644
--- a/yapp/version.h
+++ b/yapp/version.h
@@ -4,7 +4,7 @@
#define __MAJOR_VERSION 0
#define __MINOR_VERSION 4
#define __RELEASE_NUM 0
-#define __BUILD_NUM 2
+#define __BUILD_NUM 3
#define __FILEVERSION_STRING __MAJOR_VERSION,__MINOR_VERSION,__RELEASE_NUM,__BUILD_NUM
#define __FILEVERSION_STRING_DOTS __MAJOR_VERSION.__MINOR_VERSION.__RELEASE_NUM.__BUILD_NUM