# | 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(); |
– | Removed lines |
+ | Added lines |
< | Changed lines (old) |
> | Changed lines (new) |