mirror of
https://github.com/allankoechke/raylib-cpp.git
synced 2026-12-01 01:18:52 +00:00
Merge pull request #222 from RobLoach/clipboard-fix
Fix infinite recursion warning
This commit is contained in:
@@ -356,14 +356,14 @@ class Window {
|
||||
* Set clipboard text content
|
||||
*/
|
||||
inline void SetClipboardText(const std::string& text) {
|
||||
SetClipboardText(text.c_str());
|
||||
::SetClipboardText(text.c_str());
|
||||
}
|
||||
|
||||
/**
|
||||
* Get clipboard text content
|
||||
*/
|
||||
inline const std::string& GetClipboardText() {
|
||||
return GetClipboardText();
|
||||
return ::GetClipboardText();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user