ViewVC Help
View File | Revision Log | View Changeset | Root Listing
root/Oni2/Daodan/MSVC/Daodan_Utility.c
(Generate patch)

Comparing Daodan/MSVC/Daodan_Utility.c (file contents):
Revision 573 by gumby, Thu Sep 9 09:27:04 2010 UTC vs.
Revision 574 by gumby, Mon Oct 11 08:22:59 2010 UTC

# Line 138 | Line 138 | extern void* TSrTest;
138   extern void* TSrScores;
139   unsigned int lastPasteTime;
140  
141 + //TODO: Fix what happens when you hold down paste
142 + //Check if console is open
143   void DDrPasteHack()
144   {
145          COtTextArea* cons = *(COtTextArea**)0x00571B74;
# Line 160 | Line 162 | void DDrPasteHack()
162                                                  strcpy_s( cons->text_entries[0].text + charsUsed, 502 - charsUsed - 1, clipboardText);
163                                                  lastPasteTime = ONgGameState->GameTime;
164                                          }
165 +                                        CloseClipboard();
166                                  }
167 +
168                          }
169                          else
170                          {

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)