Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
00fox authored Feb 25, 2022
1 parent 6975f13 commit 3a640a9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions Ds2vJoy/Ds2vJoy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -801,7 +801,7 @@ LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
static bool extended = false;
static bool cloned = false;
static bool notepad = false;
static unsigned char PreviousTab = 0;
static unsigned char PreviousTab = 15;
static unsigned char Notepadtab = 0;
static unsigned long m_flag_drag = 0;
static short x = 0;
Expand Down Expand Up @@ -1276,8 +1276,9 @@ LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
TabCtrl_InsertItem(hTab, 9, &tc_item);
TabCtrl_SetCurFocus(hTab, 9);
}
else
else if (PreviousTab != 15)
TabCtrl_SetCurFocus(hTab, PreviousTab);
PreviousTab = 15;
}

ds.PreOpen();
Expand Down
2 changes: 1 addition & 1 deletion Ds2vJoy/Settings.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
class Settings
{
public:
const int VersionDate = 202202221;
const int VersionDate = 202202241;
const std::wstring ProgramFilesDirName = L"Ds2vJoy";
bool BreakAndExit = false;

Expand Down

0 comments on commit 3a640a9

Please sign in to comment.