Fixed type problem in GetOS

This commit is contained in:
Rabia Alhaffar 2020-06-11 22:01:08 +03:00 committed by GitHub
parent d39c932066
commit abeece3bd9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -1174,7 +1174,7 @@ void SetClipboardText(const char *text)
} }
// Get current operating system used // Get current operating system used
void GetOS() const char *GetOS(void)
{ {
#ifdef _WIN32 || _WIN64 #ifdef _WIN32 || _WIN64
return "Windows"; return "Windows";

View File

@ -898,7 +898,7 @@ RLAPI Vector2 GetWindowPosition(void); // Get window
RLAPI const char *GetMonitorName(int monitor); // Get the human-readable, UTF-8 encoded name of the primary monitor RLAPI const char *GetMonitorName(int monitor); // Get the human-readable, UTF-8 encoded name of the primary monitor
RLAPI const char *GetClipboardText(void); // Get clipboard text content RLAPI const char *GetClipboardText(void); // Get clipboard text content
RLAPI void SetClipboardText(const char *text); // Set clipboard text content RLAPI void SetClipboardText(const char *text); // Set clipboard text content
RLAPI void GetOS(); // Get current operating system RLAPI const char *GetOS(void); // Get current operating system
// Cursor-related functions // Cursor-related functions
RLAPI void ShowCursor(void); // Shows cursor RLAPI void ShowCursor(void); // Shows cursor