[Scummvm-git-logs] scummvm master -> 9edc2f0a0a163ea8aaba6005b385117c5e9e5af7

sev- sev at scummvm.org
Sun Aug 30 19:45:33 UTC 2020


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
9edc2f0a0a BACKENDS: DS: Fix compilation error arisen due to extra U32 wrappers.


Commit: 9edc2f0a0a163ea8aaba6005b385117c5e9e5af7
    https://github.com/scummvm/scummvm/commit/9edc2f0a0a163ea8aaba6005b385117c5e9e5af7
Author: aryanrawlani28 (aryanrawlani007 at gmail.com)
Date: 2020-08-30T21:45:29+02:00

Commit Message:
BACKENDS: DS: Fix compilation error arisen due to extra U32 wrappers.

Changed paths:
    backends/platform/ds/arm9/source/dsoptions.cpp


diff --git a/backends/platform/ds/arm9/source/dsoptions.cpp b/backends/platform/ds/arm9/source/dsoptions.cpp
index 20adadff5c..46ae3d8824 100644
--- a/backends/platform/ds/arm9/source/dsoptions.cpp
+++ b/backends/platform/ds/arm9/source/dsoptions.cpp
@@ -62,8 +62,8 @@ DSOptionsDialog::DSOptionsDialog() : GUI::Dialog(0, 0, 320 - 10, 230 - 40) {
 
 	_leftHandedCheckbox = new GUI::CheckboxWidget(_tab, 5, 5, 130, 20, _("~L~eft handed mode"));
 	_indyFightCheckbox = new GUI::CheckboxWidget(_tab, 5, 20, 140, 20, _("~I~ndy fight controls"));
-	_showCursorCheckbox = new GUI::CheckboxWidget(_tab, 150, 5, 130, 20, _("Show mouse cursor"), U32String(""), U32String(""), 'T');
-	_snapToBorderCheckbox = new GUI::CheckboxWidget(_tab, 150, 20, 130, 20, _("Snap to edges"), U32String(""), U32String(""), 'T');
+	_showCursorCheckbox = new GUI::CheckboxWidget(_tab, 150, 5, 130, 20, _("Show mouse cursor"), U32String(""), 0, 'T');
+	_snapToBorderCheckbox = new GUI::CheckboxWidget(_tab, 150, 20, 130, 20, _("Snap to edges"), U32String(""), 0, 'T');
 
 	new GUI::StaticTextWidget(_tab, 20, 35, 100, 15, _("Touch X Offset"), Graphics::kTextAlignLeft);
 	_touchX = new GUI::SliderWidget(_tab, 130, 35, 130, 12, U32String("TODO: Add tooltip"), 1);




More information about the Scummvm-git-logs mailing list