Alexander Nicolaysen =?UTF-8?Q?S=C3=B8rnes=20?=: TableRowSortable: Override TableRow::AddCell()

Alexander Nicolaysen Sørnes asornes at winehq.org
Sun Jan 12 09:53:55 CST 2014


Module: appdb
Branch: master
Commit: bf7127801b1fa08795c92de076844854b2ac6683
URL:    http://source.winehq.org/git/appdb.git/?a=commit;h=bf7127801b1fa08795c92de076844854b2ac6683

Author: Alexander Nicolaysen Sørnes <alexsornes at gmail.com>
Date:   Sun Jan 12 16:53:46 2014 +0100

TableRowSortable: Override TableRow::AddCell()

---

 include/table.php |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/table.php b/include/table.php
index 362d605..f0c31fb 100644
--- a/include/table.php
+++ b/include/table.php
@@ -313,7 +313,7 @@ class TableRowSortable extends TableRow
     }
 
     /* Adds a table cell without sorting */
-    function AddTableCell(TableCell $oCell)
+    function AddCell(TableCell $oCell)
     {
         $this->aTableCells[] = $oCell;
         $this->aSortVars[] = '';
@@ -322,7 +322,7 @@ class TableRowSortable extends TableRow
     /* Adds a text cell without sorting */
     function AddTextCell($shText)
     {
-        $this->AddTableCell(new TableCell($shText));
+        $this->AddCell(new TableCell($shText));
     }
 
     /* Adds a text cell with a sorting var */




More information about the wine-cvs mailing list