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 @@ 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;