Rosanne DiMesio : version.php: add GOG license and fix misspelled word in a comment
Jeremy Newman
jnewman at winehq.org
Mon Apr 24 10:28:28 CDT 2017
Module: appdb
Branch: master
Commit: f6fbc59a23746b4926e467000b89c87c385e2be1
URL: http://source.winehq.org/git/appdb.git/?a=commit;h=f6fbc59a23746b4926e467000b89c87c385e2be1
Author: Rosanne DiMesio <dimesio at earthlink.net>
Date: Mon Apr 24 10:15:29 2017 -0500
version.php: add GOG license and fix misspelled word in a comment
Really fix bug 42854.
Signed-off-by: Rosanne DiMesio <dimesio at earthlink.net>
Signed-off-by: Jeremy Newman <jnewman at codeweavers.com>
---
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)
{
More information about the wine-cvs
mailing list