mirror of
https://github.com/glfw/glfw.git
synced 2025-06-14 19:52:14 +00:00
Remove needless spaces
This commit is contained in:
parent
0759632788
commit
b061c0fabc
@ -5266,7 +5266,7 @@ GLFWAPI GLFWcharmodsfun glfwSetCharModsCallback(GLFWwindow* window, GLFWcharmods
|
|||||||
* callback.
|
* callback.
|
||||||
* @return The previously set callback, or `NULL` if no callback was set or an
|
* @return The previously set callback, or `NULL` if no callback was set or an
|
||||||
* error occurred.
|
* error occurred.
|
||||||
*
|
*
|
||||||
* @callback_signature
|
* @callback_signature
|
||||||
* @code
|
* @code
|
||||||
* void function_name(GLFWwindow* window,
|
* void function_name(GLFWwindow* window,
|
||||||
@ -5300,7 +5300,7 @@ GLFWAPI GLFWpreeditfun glfwSetPreeditCallback(GLFWwindow* window, GLFWpreeditfun
|
|||||||
* callback.
|
* callback.
|
||||||
* @return The previously set callback, or `NULL` if no callback was set or an
|
* @return The previously set callback, or `NULL` if no callback was set or an
|
||||||
* error occurred.
|
* error occurred.
|
||||||
*
|
*
|
||||||
* @callback_signature
|
* @callback_signature
|
||||||
* @code
|
* @code
|
||||||
* void function_name(GLFWwindow* window)
|
* void function_name(GLFWwindow* window)
|
||||||
|
@ -800,7 +800,7 @@ static const NSRange kEmptyRange = { NSNotFound, 0 };
|
|||||||
const NSRect frame =
|
const NSRect frame =
|
||||||
[window->ns.object contentRectForFrameRect:[window->ns.object frame]];
|
[window->ns.object contentRectForFrameRect:[window->ns.object frame]];
|
||||||
|
|
||||||
return NSMakeRect(frame.origin.x + x,
|
return NSMakeRect(frame.origin.x + x,
|
||||||
frame.origin.y + frame.size.height - y,
|
frame.origin.y + frame.size.height - y,
|
||||||
0.0,
|
0.0,
|
||||||
h);
|
h);
|
||||||
|
@ -41,8 +41,8 @@
|
|||||||
// Returns GLFW_FALSE when the converting is not yet completed (for
|
// Returns GLFW_FALSE when the converting is not yet completed (for
|
||||||
// Surrogate-pair processing) and the unit is assigned to the argument
|
// Surrogate-pair processing) and the unit is assigned to the argument
|
||||||
// `highsurrogate`. It will be used in the next unit's processing.
|
// `highsurrogate`. It will be used in the next unit's processing.
|
||||||
//
|
//
|
||||||
static GLFWbool convertToUTF32FromUTF16(WCHAR utf16_unit,
|
static GLFWbool convertToUTF32FromUTF16(WCHAR utf16_unit,
|
||||||
WCHAR* highsurrogate,
|
WCHAR* highsurrogate,
|
||||||
uint32_t* codepoint)
|
uint32_t* codepoint)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user