Merge pull request #9651 from LunaMoo/minorOCD

Minor OCD fix;].
This commit is contained in:
Henrik Rydgård authored and GitHub committed 2017-04-29 16:50:08 +02:00
commit 4a97ab25b3
3 files changed
+3 -6

No files matched your search

+1 -1
View File
@@ -442,7 +442,7 @@ void CWCheatEngine::Run() {
if (i+1 < count) {
code = GetNextCode();
if (code.size() < 2) {
// Code broken. Should warn but would be very spammy...
// User provided incomplete cheat. Should warn but would be very spammy...
break;
}
int arg3 = code[0];
+1 -1
View File
@@ -576,7 +576,7 @@ void GameSettingsScreen::CreateViews() {
return UI::EVENT_CONTINUE;
});
#if defined(USING_WIN_UI)
controlsSettings->Add(new ItemHeader(co->T("Mouse", "Mouse Control Settings")));
controlsSettings->Add(new ItemHeader(co->T("Mouse", "Mouse settings")));
CheckBox *mouseControl = controlsSettings->Add(new CheckBox(&g_Config.bMouseControl, co->T("Use Mouse Control")));
mouseControl->OnClick.Add([=](EventParams &e) {
if(g_Config.bMouseControl)
+1 -4
View File
@@ -245,7 +245,7 @@ namespace WindowsRawInput {
NativeTouch(touch);
if (MouseInWindow(hWnd)) {
if (!mouseDown[i]) {
// This means they were focused outside, and left clicked inside.
// This means they were focused outside, and clicked inside.
// Seems intentional, so send a down first.
key.flags = KEY_DOWN;
NativeKey(key);
@@ -259,9 +259,6 @@ namespace WindowsRawInput {
}
}
}
// TODO : Smooth and translate to an axis every frame.
// NativeAxis()
}
void ProcessHID(RAWINPUT *raw, bool foreground) {