paragasa / openholdembot

Automatically exported from code.google.com/p/openholdembot
Other
0 stars 0 forks source link

OpenScrape DialogTableMap is not populating it's item list with Text3 t$ records #37

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Which product and version is being used? (OpenHoldem, OpenScrape, OHReplay,
or ManualMode)    OpenScrape

What steps will reproduce the problem?
1. Open a TM that contains Text3 t$ records.
2. Attempt to view the T3 records in the DialogTableMap list, they will not
appear.
3. N/A

What is the expected output? What do you see instead? See 2 above.

Please provide any additional information below.

I have determined the fix for this issue and have developed a patch for the
current 2.0.x maintenance branch of the OS project: 

Index: DialogTableMap.cpp
===================================================================
--- DialogTableMap.cpp  (revision 841)
+++ DialogTableMap.cpp  (working copy)
@@ -2818,7 +2818,7 @@
    parent = m_TableMapTree.InsertItem("Fonts");
    m_TableMapTree.SetItemState(parent, TVIS_BOLD, TVIS_BOLD );

-   for (i=0; i<3; i++)
+   for (i=0; i<=3; i++)
    {
        for (TMapCI t_iter=p_tablemap->t$(i)->begin();
t_iter!=p_tablemap->t$(i)->end(); t_iter++)
        {

Original issue reported on code.google.com by BillW.inTx@gmail.com on 1 Jul 2009 at 6:45

Attachments:

GoogleCodeExporter commented 8 years ago
Verified and fixed. Thank you, Bill!

Original comment by thehighfish@googlemail.com on 11 Aug 2009 at 10:47