[Scummvm-git-logs] scummvm-web master -> b11ae66b408be270872f48ad43d6feb9c3d6f9cf

Thunderforge noreply at scummvm.org
Sun Mar 6 04:08:13 UTC 2022


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

Summary:
b11ae66b40 WEB: Moving comment location to match new code


Commit: b11ae66b408be270872f48ad43d6feb9c3d6f9cf
    https://github.com/scummvm/scummvm-web/commit/b11ae66b408be270872f48ad43d6feb9c3d6f9cf
Author: Thunderforge (wjherrmann at gmail.com)
Date: 2022-03-05T22:08:07-06:00

Commit Message:
WEB: Moving comment location to match new code

Changed paths:
    include/OrmObjects/Screenshot.php


diff --git a/include/OrmObjects/Screenshot.php b/include/OrmObjects/Screenshot.php
index a174e41d..182d5a15 100644
--- a/include/OrmObjects/Screenshot.php
+++ b/include/OrmObjects/Screenshot.php
@@ -67,7 +67,6 @@ class Screenshot extends BaseScreenshot
 
     public function getCaption()
     {
-        // Escape quotes and such in the name, such as for `Spy Fox in "Dry Cereal"`
         $name = $this->getGame()->getName();
         $extras = [];
         if ($this->getVariant()) {
@@ -82,6 +81,7 @@ class Screenshot extends BaseScreenshot
 
         if (count($extras) > 0) {
             $extra = \join("/", $extras);
+            // Escape quotes and such, such as for `Spy Fox in "Dry Cereal"`
             return htmlspecialchars("$name ($extra)");
         }
 




More information about the Scummvm-git-logs mailing list