[Scummvm-git-logs] scummvm master -> 0faa75df07263e10ecc94a92b56a861f54935d19
rvanlaar
noreply at scummvm.org
Fri Aug 16 20:13:19 UTC 2024
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:
0faa75df07 ENGINES: Give default value to boolean isSelected
Commit: 0faa75df07263e10ecc94a92b56a861f54935d19
https://github.com/scummvm/scummvm/commit/0faa75df07263e10ecc94a92b56a861f54935d19
Author: Roland van Laar (roland at rolandvanlaar.nl)
Date: 2024-08-16T22:10:26+02:00
Commit Message:
ENGINES: Give default value to boolean isSelected
`isSelected` was not initialized and should be false.
It's only true on massadd.
Changed paths:
engines/game.h
diff --git a/engines/game.h b/engines/game.h
index a5150caaa87..d428d1e110f 100644
--- a/engines/game.h
+++ b/engines/game.h
@@ -173,7 +173,7 @@ struct DetectedGame {
/**
* A game was detected and is selected in the Mass Add list.
*/
- bool isSelected;
+ bool isSelected = false;
/**
* An optional list of the files that were used to match the game with the engine's detection tables
More information about the Scummvm-git-logs
mailing list