Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fixed bug where mouse release callback was not called
  • Loading branch information
nickgammon committed Jun 11, 2011
1 parent ccb91da commit 9226db0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions doc.h
Expand Up @@ -21,8 +21,8 @@

// New versions - things to change

#define THISVERSION 474 // Step 1.
const CString MUSHCLIENT_VERSION = "4.74"; // Step 2.
#define THISVERSION 475 // Step 1.
const CString MUSHCLIENT_VERSION = "4.75"; // Step 2.
// Step 3. Don't forget VERSION resource in Resources tab
// Step 4. Remember: README.TXT

Expand Down
2 changes: 1 addition & 1 deletion mushview.cpp
Expand Up @@ -6867,7 +6867,7 @@ bool CMUSHView::Mouse_Up_MiniWindow (CMUSHclientDoc* pDoc, CPoint point, long fl
prev_mw->m_client_mouseposition = point;

// see if activity was mouse-down
if (!prev_mw->m_sMouseDownHotspot.empty ()) // mouse was clicked
if (!sOldMouseDownHotspot.empty ()) // mouse was clicked
{
// lookup that HotspotId
HotspotMapIterator it = prev_mw->m_Hotspots.find (sOldMouseDownHotspot);
Expand Down

0 comments on commit 9226db0

Please sign in to comment.