summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tipper/message_pump.cpp3
-rw-r--r--tipper/tipper.mdsp8
-rw-r--r--tipper/version.h2
3 files changed, 8 insertions, 5 deletions
diff --git a/tipper/message_pump.cpp b/tipper/message_pump.cpp
index ae679c0..66013b7 100644
--- a/tipper/message_pump.cpp
+++ b/tipper/message_pump.cpp
@@ -124,6 +124,7 @@ int ShowTip(WPARAM wParam, LPARAM lParam) {
if(wParam) { // wParam is char pointer containing text - e.g. status bar tooltip
clcit2->text = a2t((char *)wParam);
+ GetCursorPos(&clcit2->ptCursor);
}
PostMPMessage(MUM_CREATEPOPUP, 0, (LPARAM)clcit2);
@@ -143,7 +144,7 @@ int ShowTipW(WPARAM wParam, LPARAM lParam) {
if(wParam) { // wParam is char pointer containing text - e.g. status bar tooltip
clcit2->text = _tcsdup((TCHAR *)wParam);
- GetCursorPos(&clcit2->ptCursor); // cursor pos broken?
+ GetCursorPos(&clcit2->ptCursor);
}
PostMPMessage(MUM_CREATEPOPUP, 0, (LPARAM)clcit2);
diff --git a/tipper/tipper.mdsp b/tipper/tipper.mdsp
index c52fd81..c298c55 100644
--- a/tipper/tipper.mdsp
+++ b/tipper/tipper.mdsp
@@ -87,6 +87,7 @@ extraResourceOptions=
4=tipper.cpp
5=translations.cpp
6=subst.cpp
+7=str_utils.cpp
[Header]
1=m_tipper.h
2=message_pump.h
@@ -98,10 +99,11 @@ extraResourceOptions=
8=translations.h
9=version.h
10=subst.h
+11=str_utils.h
[Resource]
1=resource.rc
[Other]
[History]
-tipper.cpp,3326
-message_pump.cpp,1325
-version.h,785
+version.h,750
+tipper.cpp,3306
+message_pump.cpp,4300
diff --git a/tipper/version.h b/tipper/version.h
index 0d9b3f5..50f59ba 100644
--- a/tipper/version.h
+++ b/tipper/version.h
@@ -4,7 +4,7 @@
#define __MAJOR_VERSION 0
#define __MINOR_VERSION 3
#define __RELEASE_NUM 0
-#define __BUILD_NUM 1
+#define __BUILD_NUM 2
#define __FILEVERSION_STRING __MAJOR_VERSION,__MINOR_VERSION,__RELEASE_NUM,__BUILD_NUM
#define __FILEVERSION_STRING_DOTS __MAJOR_VERSION.__MINOR_VERSION.__RELEASE_NUM.__BUILD_NUM