Skip to content

Commit

Permalink
Remove check for number of mouse buttons - not needed
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark Hessling committed Sep 10, 2004
1 parent 689eae8 commit 32ad409
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions win32/pdcscrn.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
#include <curses.h>

#ifdef PDCDEBUG
char *rcsid_PDCscrn = "$Id: pdcscrn.c,v 1.4 2004/07/01 07:21:22 rexx Exp $";
char *rcsid_PDCscrn = "$Id: pdcscrn.c,v 1.5 2004/09/10 07:47:44 rexx Exp $";
#endif

HANDLE hConOut = INVALID_HANDLE_VALUE;
Expand Down Expand Up @@ -270,9 +270,6 @@ int PDC_scr_open(SCREEN *internal, bool echo)

PDC_reset_prog_mode();

GetNumberOfConsoleMouseButtons((LPDWORD)&numbuttons);
internal->num_mouse_buttons = (int)numbuttons;

PDC_get_cursor_pos(&internal->cursrow, &internal->curscol);
internal->direct_video = TRUE; /* Assume that we can */
internal->autocr = TRUE; /* lf -> crlf by default */
Expand Down

0 comments on commit 32ad409

Please sign in to comment.