[APPDB] version.php: add GOG license and fix misspelled word in a comment
Rosanne DiMesio
dimesio at earthlink.net
Mon Apr 24 10:15:29 CDT 2017
Really fix bug 42854.
Signed-off-by: Rosanne DiMesio <dimesio at earthlink.net>
---
include/version.php | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/include/version.php b/include/version.php
index b79954d..5ee4974 100644
--- a/include/version.php
+++ b/include/version.php
@@ -21,6 +21,7 @@ define("LICENSE_RETAIL", "Retail");
define('LICENSE_FREETOUSE', 'Free to use');
define('LICENSE_FREETOSHARE', 'Free to use and share');
define('LICENSE_STEAM', 'Steam');
+define('LICENSE_GOG', 'GOG');
/**
* Version class for handling versions.
@@ -1366,11 +1367,11 @@ EOT;
return $oTable->GetString();
}
- /* Returns an array containg the different software licences */
+ /* Returns an array containing the different software licences */
public static function getLicenses()
{
return array(LICENSE_RETAIL, LICENSE_OPENSOURCE, LICENSE_FREETOUSE,
- LICENSE_FREETOSHARE, LICENSE_DEMO, LICENSE_SHAREWARE, LICENSE_STEAM);
+ LICENSE_FREETOSHARE, LICENSE_DEMO, LICENSE_SHAREWARE, LICENSE_STEAM, LICENSE_GOG);
}
// returns a string containing the html for a selection list
@@ -1404,7 +1405,7 @@ EOT;
public static function checkLicense($sLicense)
{
$aLicense = array(LICENSE_RETAIL, LICENSE_OPENSOURCE, LICENSE_FREETOUSE,
- LICENSE_FREETOSHARE, LICENSE_DEMO, LICENSE_SHAREWARE, LICENSE_STEAM);
+ LICENSE_FREETOSHARE, LICENSE_DEMO, LICENSE_SHAREWARE, LICENSE_STEAM, LICENSE_GOG);
foreach($aLicense as $sElement)
{
--
2.12.0
More information about the wine-patches
mailing list