OSDN Git Service

fix problem that baloon help doesn't appear on Windows XP
authorU-i7\gimy <gimy@users.sourceforge.jp>
Thu, 27 Aug 2009 13:22:37 +0000 (22:22 +0900)
committerU-i7\gimy <gimy@users.sourceforge.jp>
Thu, 27 Aug 2009 13:22:37 +0000 (22:22 +0900)
mayu.cpp

index 8b84446..1fe058e 100644 (file)
--- a/mayu.cpp
+++ b/mayu.cpp
@@ -1081,7 +1081,7 @@ public:
                tstring tip = loadString(IDS_mayu);\r
                tcslcpy(m_ni.szTip, tip.c_str(), NUMBER_OF(m_ni.szTip));\r
                if (m_canUseTasktrayBaloon) {\r
-                       m_ni.cbSize = sizeof(m_ni);\r
+                       m_ni.cbSize = NOTIFYICONDATA_V3_SIZE;\r
                        m_ni.uFlags |= NIF_INFO;\r
                } else\r
                        m_ni.cbSize = NOTIFYICONDATA_V1_SIZE;\r