Comments spelling fixes

This commit is contained in:
Adrien Ufferte 2025-06-15 01:36:10 +02:00
parent 1218a16de5
commit a11a64fbf4
6 changed files with 7 additions and 7 deletions

View file

@ -42,7 +42,7 @@
// recursion. So: float value; int value; etc.
//
// This works by splitting up the parameter pack for each step in the recursion minus the first.
// so the the first step creates the "T value" from the first template parameter.
// so the first step creates the "T value" from the first template parameter.
// any further template arguments end up in "Rest", which we then use to instantiate a new
// tuple, but now minus the first argument. To write this all out:
//

View file

@ -402,7 +402,7 @@ Error SkinTool::_determine_skeletons(
for (GLTFSkinIndex skin_i = 0; skin_i < skins.size(); ++skin_i) {
Ref<GLTFSkin> skin = skins.write[skin_i];
// If any of the the skeletons nodes exist in a skin, that skin now maps to the skeleton
// If any of the skeletons nodes exist in a skin, that skin now maps to the skeleton
for (int i = 0; i < skeleton_nodes.size(); ++i) {
SkinNodeIndex skel_node_i = skeleton_nodes[i];
if (skin->joints.has(skel_node_i) || skin->non_joints.has(skel_node_i)) {

View file

@ -87,7 +87,7 @@
Start a file with the fastest Deflate compression level ([code]1[/code]). This is fast to compress, but results in larger file sizes than [constant COMPRESSION_DEFAULT]. Decompression speed is generally unaffected by the chosen compression level.
</constant>
<constant name="COMPRESSION_BEST" value="9" enum="CompressionLevel">
Start a file with the the best Deflate compression level ([code]9[/code]). This is slow to compress, but results in smaller file sizes than [constant COMPRESSION_DEFAULT]. Decompression speed is generally unaffected by the chosen compression level.
Start a file with the best Deflate compression level ([code]9[/code]). This is slow to compress, but results in smaller file sizes than [constant COMPRESSION_DEFAULT]. Decompression speed is generally unaffected by the chosen compression level.
</constant>
</constants>
</class>

View file

@ -42,7 +42,7 @@ struct DisplayServerEmbeddedState {
/// Default to a scale of 2.0, which is the most common.
float screen_max_scale = 2.0f;
float screen_dpi = 96.0f;
/// The display ID of the window which is displaying the the embedded process content.
/// The display ID of the window which is displaying the embedded process content.
uint32_t display_id = -1;
void serialize(PackedByteArray &r_data);

View file

@ -4658,7 +4658,7 @@ LRESULT DisplayServerWindows::WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARA
// Process window messages.
switch (uMsg) {
case WM_GETOBJECT: {
get_object_recieved = true;
get_object_received = true;
} break;
case WM_MENUCOMMAND: {
native_menu->_menu_activate(HMENU(lParam), (int)wParam);
@ -7177,7 +7177,7 @@ DisplayServerWindows::DisplayServerWindows(const String &p_rendering_driver, Win
}
uint64_t delta = OS::get_singleton()->get_ticks_msec() - time_wait;
if (delta > 500 || get_object_recieved) {
if (delta > 500 || get_object_received) {
break;
}
}

View file

@ -278,7 +278,7 @@ class DisplayServerWindows : public DisplayServer {
String rendering_driver;
bool app_focused = false;
bool keep_screen_on = false;
bool get_object_recieved = false;
bool get_object_received = false;
HANDLE power_request;
TTS_Windows *tts = nullptr;