Diff

Differences From Artifact [55aae64522]:

To Artifact [2c6a53b51e]:


699
700
701
702
703
704
705
706
707
708

709
710
711
712
713
714
715
699
700
701
702
703
704
705

706
707
708
709
710
711
712
713
714
715







-


+







	}
	break;

#define X_POS(l) ((int)(short)LOWORD(l))
#define Y_POS(l) ((int)(short)HIWORD(l))

      case WM_LBUTTONDOWN:
        SetCapture(hwnd);
	click (MB_SELECT, X_POS(lParam) / font_width,
	       Y_POS(lParam) / font_height);
        SetCapture(hwnd);
	return 0;
      case WM_LBUTTONUP:
	term_mouse (MB_SELECT, MA_RELEASE, X_POS(lParam) / font_width,
		    Y_POS(lParam) / font_height);
        ReleaseCapture();
	return 0;
      case WM_MBUTTONDOWN: