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

Comparing Daodan/src/Daodan_Utility.c (file contents):
Revision 677 by alloc, Sat Mar 2 23:46:33 2013 UTC vs.
Revision 681 by alloc, Sun Mar 3 04:37:58 2013 UTC

# Line 159 | Line 159 | void DDrPasteHack()
159                                          clipboardText = GetClipboardData(CF_TEXT);
160                                          if(clipboardText && strlen(clipboardText) + charsUsed < 502)
161                                          {
162 <                                                strcpy_s( cons->text_entries[0].text + charsUsed, 502 - charsUsed - 1, clipboardText);
162 >                                                strcpy_s( cons->text_entries[0].text + charsUsed, clipboardText);
163                                                  lastPasteTime = ONgGameState->GameTime;
164                                          }
165                                          CloseClipboard();

Diff Legend

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